users@glassfish.java.net

Re: _at_EntityListener and merge() not working well

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Jan 2008 19:38:06 PST

Merge is not a lifecycle operation what event are you registering for? Also if you are applying the changes before the merge completes it is the merge operation that is undoing your changes as it merges the detached entity over the managed copy. You will need to make sure that the updates occur after the merge has completed by, most likely, using a different event.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

http://forums.java.net/jive/thread.jspa?messageID=256481