I will try that. On the other note, i was reading article on ibm infocenter and it says that, you should use get-use-close pattern. Earlier we were using @persistenceContext so it was managed proplery but now we are using
EntityManagerFactory factory = Persistence.createEntityManagerFactory(unitName); entityManager = factory.createEntityManager(); and methods are not closing the entity manager. do you think that could be the issue? Thanks Chintan -- View this message in context: http://openjpa.208410.n2.nabble.com/Multiple-concurrent-threads-attempted-to-access-a-single-broker-tp6820896p6821026.html Sent from the OpenJPA Users mailing list archive at Nabble.com.