Please help to understand which of the following is correct.
- Spring supports management of JPA PersistenceContext in combination of with local or global transaction.
- The JPA provider is specified by setting the vendor adaptor property on the EntityManagerFactoryBean
- When mapping local transaction, the JPATransactionManager uses JPA EntityManager to do the work.
It seems to me all the three statement is Incorrect. Reasons:
- JPA PersistenceContext support in local transaction. For global use JTA.
- use adaptor property on the localEntityManagerFactoryBean
- JPA uses EntityManagerFactory to do work.
Please help.