On Sep 5, 2011, at 10:23 AM, Mike Kienenberger wrote: > By the way, JPA.merge() is not close enough to localCopy() to use. > Merge is more of a "update the object if it already exists rather than > inserting a new one at commit". I think merge() would be a bad > choice.
Yep, "merge" is different. Merge is more related to our earlier discussions on supporting working with detached objects, while "localObject" is for normal Cayenne registered objects. Andrus
