Package | Description |
---|---|
org.springframework.orm.jpa |
Package providing integration of JPA (Java Persistence API) with Spring concepts.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EntityManagerPlus
Extension of the standard JPA EntityManager interface, linking in
Spring's EntityManagerPlusOperations interface which defines additional
operations (beyond JPA 1.0) in a vendor-independent fashion.
|
Modifier and Type | Method and Description |
---|---|
EntityManagerPlusOperations |
JpaDialect.getEntityManagerPlusOperations(javax.persistence.EntityManager rawEntityManager)
Return an EntityManagerPlusOperations implementation for
the given raw EntityManager.
|
EntityManagerPlusOperations |
DefaultJpaDialect.getEntityManagerPlusOperations(javax.persistence.EntityManager rawEntityManager) |
Modifier and Type | Method and Description |
---|---|
static javax.persistence.EntityManager |
ExtendedEntityManagerCreator.createApplicationManagedEntityManager(javax.persistence.EntityManager rawEntityManager,
EntityManagerPlusOperations plusOperations)
Create an EntityManager that can join transactions with the
joinTransaction() method, but is not automatically
managed by the container. |
static javax.persistence.EntityManager |
ExtendedEntityManagerCreator.createApplicationManagedEntityManager(javax.persistence.EntityManager rawEntityManager,
EntityManagerPlusOperations plusOperations,
PersistenceExceptionTranslator exceptionTranslator)
Create an EntityManager that can join transactions with the
joinTransaction() method, but is not automatically
managed by the container. |
static javax.persistence.EntityManager |
ExtendedEntityManagerCreator.createContainerManagedEntityManager(javax.persistence.EntityManager rawEntityManager,
EntityManagerPlusOperations plusOperations)
Create an EntityManager that automatically joins transactions on each
operation in a transaction.
|
static javax.persistence.EntityManager |
ExtendedEntityManagerCreator.createContainerManagedEntityManager(javax.persistence.EntityManager rawEntityManager,
EntityManagerPlusOperations plusOperations,
PersistenceExceptionTranslator exceptionTranslator)
Create an EntityManager that automatically joins transactions on each
operation in a transaction.
|
Copyright © 2015. All rights reserved.