Hi,
  OpenJPA uses a series of decisions to determine whether a given argument x
as in merge(x) is a detached instance of not. The most obvious of this
decisions is based on a version field in the entity. So the first suggestion
will be to add a @Version field, if it is not defined already. 
  If OpenJPA is inserting the merge entity, most likely that it has no
version field and no detached state (another mechanism OpenJPA uses that
adds few extra bits in the detached version of the instance). 

  
-- 
View this message in context: 
http://n2.nabble.com/Issue-in-Handling-persistent-objects-across-multiple-persistence-contexts-tp2449327p2453664.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to