|[eclipselink-dev] Bug 244124 - Add Nested FetchGroup|
Checked into trunk.
The patch provides basic nested fetch group functionality.
FetchGroup got a new shouldLoad flag - it indicates whether its attributes
should be loaded.
Also there is a new class LoadGroup, which allows to manage loading of
individual relational attributes.
There is still work to be done in the area of merging with cache and fetch
A new test package org.eclipse.persistence.testing.tests.jpa.fetchgroups was
See simple examples of different loading arrangements in findMinEmployee tests
A simple merge was tested and works:
serialize object with a fetch group applied to it;
update serialized object (even attribute outside the fetch group);
serialize it back to the server;
See a simple example in SimpleSerializeFetchGroupTests.simpleSerializeAndMerge.
Back to the top