users@glassfish.java.net

Re: JPA - why persist and merge, why not a sigle save

From: <glassfish_at_javadesktop.org>
Date: Mon, 23 Jul 2007 23:46:52 PDT

There are scenarios when you want to explicitly only create new entities or only modify existing ones.
For example some users may have update rights but not create rights on a set of tables, or (more rarely) create rights but no update rights.
[Message sent by forum member 'jwenting' (jwenting)]

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