java.lang.Object | |
↳ | org.springframework.orm.jpa.ExtendedEntityManagerCreator |
Factory for dynamic EntityManager proxies that follow the JPA spec's semantics for "extended" EntityManagers.
Supports explicit joining of a transaction through the
joinTransaction()
method ("application-managed extended
EntityManager") as well as automatic joining on each operation
("container-managed extended EntityManager").
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create an EntityManager that can join transactions with the
joinTransaction() method, but is not automatically
managed by the container. | |||||||||||
Create an EntityManager that can join transactions with the
joinTransaction() method, but is not automatically
managed by the container. | |||||||||||
Create an EntityManager that can join transactions with the
joinTransaction() method, but is not automatically
managed by the container. | |||||||||||
Create an EntityManager that automatically joins transactions on each
operation in a transaction.
| |||||||||||
Create an EntityManager that automatically joins transactions on each
operation in a transaction.
| |||||||||||
Create an EntityManager that automatically joins transactions on each
operation in a transaction.
| |||||||||||
Create an EntityManager that automatically joins transactions on each
operation in a transaction.
| |||||||||||
Create an EntityManager that automatically joins transactions on each
operation in a transaction.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create an EntityManager that can join transactions with the
joinTransaction()
method, but is not automatically
managed by the container.
rawEntityManager | raw EntityManager |
---|---|
emfInfo | the EntityManagerFactoryInfo to obtain the EntityManagerPlusOperations and PersistenceUnitInfo from |
Create an EntityManager that can join transactions with the
joinTransaction()
method, but is not automatically
managed by the container.
rawEntityManager | raw EntityManager |
---|---|
plusOperations | an implementation of the EntityManagerPlusOperations
interface, if those operations should be exposed (may be null ) |
Create an EntityManager that can join transactions with the
joinTransaction()
method, but is not automatically
managed by the container.
rawEntityManager | raw EntityManager |
---|---|
plusOperations | an implementation of the EntityManagerPlusOperations
interface, if those operations should be exposed (may be null ) |
exceptionTranslator | the exception translator to use for translating
JPA commit/rollback exceptions during transaction synchronization
(may be null ) |
Create an EntityManager that automatically joins transactions on each operation in a transaction.
rawEntityManager | raw EntityManager |
---|---|
emfInfo | the EntityManagerFactoryInfo to obtain the EntityManagerPlusOperations and PersistenceUnitInfo from |
Create an EntityManager that automatically joins transactions on each operation in a transaction.
emf | the EntityManagerFactory to create the EntityManager with. If this implements the EntityManagerFactoryInfo interface, appropriate handling of the native EntityManagerFactory and available EntityManagerPlusOperations will automatically apply. |
---|---|
properties | the properties to be passed into the createEntityManager
call (may be null ) |
Create an EntityManager that automatically joins transactions on each operation in a transaction.
emf | the EntityManagerFactory to create the EntityManager with. If this implements the EntityManagerFactoryInfo interface, appropriate handling of the native EntityManagerFactory and available EntityManagerPlusOperations will automatically apply. |
---|
Create an EntityManager that automatically joins transactions on each operation in a transaction.
rawEntityManager | raw EntityManager |
---|---|
plusOperations | an implementation of the EntityManagerPlusOperations
interface, if those operations should be exposed (may be null ) |
exceptionTranslator | the exception translator to use for translating
JPA commit/rollback exceptions during transaction synchronization
(may be null ) |
Create an EntityManager that automatically joins transactions on each operation in a transaction.
rawEntityManager | raw EntityManager |
---|---|
plusOperations | an implementation of the EntityManagerPlusOperations
interface, if those operations should be exposed (may be null ) |