I have two message driven beans and both of them persist entity through entity manager. Both message driven beans work in scope of one shared jta transaction. In this special case is it possible to call EntityManager.persist in those mdbs concurrently or shall I have to synchronize access to entity manager?
Thanks for answer
I think that not synchronizing is source of my problems with exception I got. Here is link to them http://forum.hibernate.org/viewtopic.php?t=983130. I will still appreciate I somebody could comment it.