Description
When using the EntityManagerFactoryBuilder it is not possible to override the transaction type using javax.persistence.TransactionType. This means that JPA 2.0 providers (such as OpenJPA) can't be easily switched between RESOURCE_LOCAL and JTA modes.