Looks similar, but I think it's different. Can OPENJPA-1372 be reproduced without sharing the EM between threads?

The added locking in this fix will prevent two EMs from getting the same sequences, I'm not sure about a single thread using the same EM. Might be worth running the test from 1372 to see if it still fails.

Michael Dick
added a comment - 16/Aug/10 22:14 Looks similar, but I think it's different. Can OPENJPA-1372 be reproduced without sharing the EM between threads?
The added locking in this fix will prevent two EMs from getting the same sequences, I'm not sure about a single thread using the same EM. Might be worth running the test from 1372 to see if it still fails.