> this object is detached or not and then do either a em.merge() or a em.persist() correct?
Yes. Use the following, for example, to determine: OpenJPAPersistence.cast(em).isDetached(pc); -- View this message in context: http://n2.nabble.com/cant-update-a-detached-instance-tp730836p731356.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
