users@glassfish.java.net

Re: EJB3 CMP TOPLINK BUG

From: <glassfish_at_javadesktop.org>
Date: Mon, 26 Mar 2007 10:49:28 PST

Hi,

Your error is assuming that em.merge is a void method, but it is not - it returns you back a managed instance that you can use for further operations. That's why what you think as a work around, is actually the right way to do the task.

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

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