Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] AttributeGroup, EntityManager.load(...) with Relations to Abstract Superclass

Hi,

okay. the described scenario works fine now ;-) 

Next Issue: I have Problems with the CopyGroup-Functionality and
EntityManager.copy().

It seems to me that the sequence I add the paths to copy
(group.addAttribute(path);)  when creating the Group influences the result I
get out of the to copy-function. There are many trivial cases it works fine.
But with some more complex trees its not as espected. First add the paths of
basic fields before adding relations brings me basic-fields in the result.
Arbitrary mixed adding comes to results where the relations are copied but
not all basic-fields.

Are there rules to regard when creating a copyGroup?
Is there a possibility to copy basicFields in general, in a way that i only
have to pay attention to lazy relationships i want in my copy in additional?

regards
Stefan 




--
View this message in context: http://eclipse.1072660.n5.nabble.com/AttributeGroup-EntityManager-load-with-Relations-to-Abstract-Superclass-tp154468p154506.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.


Back to the top