JPA transaction rollback fails with call to stateless bean
问题 Inside a BMT (using a UserTransaction ) I call a method on another stateless EJB. When I rollback this transaction, the entity created in the EJB method is not rolled back. I use EJB 3.1 with JPA 2.0. The transaction begins in method doTheTransaction() : @Stateless @LocalBean @TransactionManagement(TransactionManagementType.BEAN) public class TaskExecutor { @Inject private SomeEntityFacade someEntityEJB; @Inject private RandomEJB randomEJB; @Resource private UserTransaction ut; @Asynchronous