users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Sun, 22 Jul 2007 23:54:23 PDT

Witold, thanks for the tips on the merge method (I wasn't aware of them).
Regarding the rational behind two separate methods, I think adding more complexity to the specification just for the sake of throwing an exception vs. merging silently is not worth it.
[Message sent by forum member 'mohammadwrk' (mohammadwrk)]

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