> This is getting more complicated than I am prepared for.
Ignore. OpenJPA provides a EntityManagerFactory-wide L2 cache which will
hang on to clean instances.
Ensure that your configuration sets L2 cache
<property name="openjpa.DataCache" value="true"/>
<property name="openjpa.RemoteCommitProvider" value="sjvm"/>
 The second property is about synching L2 caches across multiple EMFs. May
not be relevant/important at this point.

> What is the mechanism that does the detection?

If the persistent class declares a field annotated with @Version. Otherwise,
all bets are off.


-- 
View this message in context: 
http://n2.nabble.com/EntityManager-handling-tp1690691p1691604.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to