[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipselink-users] EntityManager.copy/fetch and embeddables
|
Hi,
i use EL 2.3.2 and work with large object-trees. In order to specify the
fetched object-tree before serialization (especially to reduce it) and
sending to an client i use the copy functionality with AttributeGroups.
First problem i had:
In some cases em.copy(List,AttributeGroup) throws several exceptions
resulting out of unloaded fields, i think if the same object occurs more
then once in the object tree. I work around this by first executing
em.load(List,AttributeGroup) and afterwards using copy.
Second Problem:
em.copy does not set embeddables. The fields are empty even when i specified
them in the CopyGroup.
Has anybody an idea about that?
regards
Stefan
--
View this message in context: http://old.nabble.com/EntityManager.copy-fetch-and-embeddables-tp33405429p33405429.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.