Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsStrange behaviour if weaving is enabled
https://www.eclipse.org/forums/index.php/mv/msg/490051/1067328/#msg_1067328
i have a weird behaviour with embedded-objects in a SE-Environment, if weaving is enabled.
I use a contact entity which contains several embedded objects, e.g. adress, zipcode and some meta-information (RecordMetaData which extends RecordMetaData_Basic).
Setting the meta information before a persist (c = Contact-Entity) does nothing if weaving ist enabled:
I use Eclipse Persistence Services - 2.4.1.v20121003-ad44345
A testcase is attached.
Cheers,
Reiner
]]>Reiner Lott2013-07-08T10:20:45-00:00Re: Strange behaviour if weaving is enabled
https://www.eclipse.org/forums/index.php/mv/msg/490051/1067584/#msg_1067584
The difference in behavior is odd, my guess is that the superclass is not getting weaved, so it cannot detect changes.
You could try including @ChangeTracking(DEFERRED) or "eclipselink.weaving.changetracking"="false".
Also try the latest release, and if the issue still occurs, please log a bug.
]]>James Sutherland2013-07-09T13:01:42-00:00Re: Strange behaviour if weaving is enabled
https://www.eclipse.org/forums/index.php/mv/msg/490051/1067607/#msg_1067607
@ChangeTracking(DEFERRED) has no effect (in 2.4) - in 2.5 this behaviour does not exist anymore!