Concurrent threads can operate on an OpenJPA EntityManager. However, by
default,  EntityManager is not thread-safe. Try
<property name="openjpa.Multithreaded" value="true"/>

Please note that this flag will ensure that OpenJPA will protect all its
internal data structures for concurrent access. But the persistent entities
being operated upon are in user control. The user application has to ensure
their thread-safety.

-----
Pinaki Poddar
Chair, Apache OpenJPA Project
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Multithreading-problem-tp6839678p6840293.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to