users@glassfish.java.net

Re: jpa and object duplication/cloning

From: <glassfish_at_javadesktop.org>
Date: Thu, 10 Jan 2008 05:10:18 PST

Just write a class that inspects the annotations in the object tree, identify the @Id and nullify the attribute.
[Message sent by forum member 'martinstraus' (martinstraus)]

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