users@glassfish.java.net

Re: _at_EntityListener and merge() not working well

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Jan 2008 13:12:46 PST

Jon,

Can the problem be that you call merge, and then try to change the same entity that you called the merge() on? merge() returns back a copy of your entity that should be used for any further changes that you want to apply. Or are you already doing this?

thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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