[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [eclipselink-users] Fetch Groups
|
Mathias,
I am in the process of converting this example over to be part of the Extensions Incubator (http://wiki.eclipse.org/EclipseLink/Development/Incubator/Extensions) as it is much more of an extension to the framework then an example of how to use EclipseLink. The initial check-in of the extension with the supporting test cases are available in the subversion repository.
The details are covered in the wiki @ http://wiki.eclipse.org/EclipseLink/Development/Incubator/Extensions/NestedFetchGroup
If you can provide test cases and or suggested modifications to the incubator I would be happy to work with you to evolve the solution. Make sure you attach any contributions to the bug tracking the incubator.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=273057
Doug
-----Original Message-----
From: Mathias Walter [mailto:
Sent: Tuesday, September 08, 2009 11:37 AM
To: Douglas Clarke
Subject: RE: [eclipselink-users] Fetch Groups
Hi Douglas,
I heavily tested NestedFetchGroupTests and it also works with batch reading
(e. g. query.setHint(QueryHints.BATCH, "e.address");)
Unfortunately, it doesn't work with fetch reading
(query.setHint(QueryHints.FETCH, "e.address");
With fetch reading, the attributes of employee are fetched correctly, but
all attributes of address are fetched. Thus nested fetching does not work in
this case.
I'd like to address this issue and like to know where to start.
--
Kind regards,
Mathias