- <init>
Create a new JpaTransactionManager instance.
- setEntityManagerFactory
Set the EntityManagerFactory that this instance should manage transactions for.
Alternatively, speci
- getEntityManagerFactory
Return the EntityManagerFactory that this instance should manage transactions
for.
- setDataSource
Set the JDBC DataSource that this instance should manage transactions for. The
DataSource should mat
- setJpaDialect
Set the JPA dialect to use for this transaction manager. Used for
vendor-specific transaction manage
- afterPropertiesSet
Eagerly initialize the JPA dialect, creating a default one for the specified
EntityManagerFactory if
- getDataSource
Return the JDBC DataSource that this instance manages transactions for.
- getJpaDialect
Return the JPA dialect to use for this transaction manager.
- getJpaPropertyMap
Allow Map access to the JPA properties to be passed to the persistence provider,
with the option to
- createEntityManagerForTransaction
Create a JPA EntityManager to be used for a transaction.The default
implementation checks whether th
- determineTimeout
- getPersistenceUnitName
Return the name of the persistence unit to manage transactions for, if any.