Craig L Russell wrote:
> 
> The usual symptom for a multithreading problem is an exception thrown  
> inside an implementation method that can't be explained by application  
> code.
> 
> What are your symptoms?
> 
I persist a set of entities in n different threads at the same time. Each
thread uses a different EntityManager.

At the end of computation sometimes I have n rows in my table, sometimes I
have n - 1, or n - 2 rows. No exception is thrown and the persist method is
always invoked n times.

Any ideas ??

-----
Not everything that can be counted counts, and not everything that counts can
be counted - Albert Einstein
-- 
View this message in context: 
http://n2.nabble.com/Persist-issue-in-multithreaded-environment-tp3377510p3383069.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to