The entity bean is instanciated in a method and the
EntityManager.persist() is made in other method. The first method has not
transaction and the second method creates a trasnaction before the entity
manager makes the persist.
The entity bean is instanciated in a method and the
EntityManager.persist() is made in other method. The methods are not
using the same transaction, so the transaction of the first method is
resume, and other transaction is created before the entity manager makes the persist.