1 of 1 people found this helpful
You might find it helpful to enable TRACE logging for com.arjuna + org.jboss.as.jpa so that you can see the impact (e.g. JTA transactions starting/suspending/resuming/ending) of different settings.
The extended entity manager is only available for (EJB) stateful session beans. You could try using an application managed entity manager instead. Basically, you inject an @PersistenceUnit into EntityManagerFactory and get an EntityManager from the EntityManagerFactory. Be careful not to share the EntityManager between multiple threads as it is not thread safe. The EntityManagerFactory can be shared between threads. Don't forget to close the EntityManager when your done with it and clear your reference to it.