Package org.springframework.orm.jpa

Package providing integration of JPA (Java Persistence API) with Spring concepts.

See:
          Description

Interface Summary
EntityManagerFactoryInfo Metadata interface for a Spring-managed JPA EntityManagerFactory.
EntityManagerFactoryPlus Extension of the standard JPA EntityManagerFactory interface, linking in Spring's EntityManagerFactoryPlusOperations interface which defines additional operations (beyond JPA 1.0) in a vendor-independent fashion.
EntityManagerFactoryPlusOperations Interface that defines common operations beyond the standard JPA EntityManagerFactory interface, in a vendor-independent fashion.
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.
EntityManagerPlusOperations Interface that defines common operations beyond the standard JPA EntityManager interface, in a vendor-independent fashion.
EntityManagerProxy Subinterface of javax.persistence.EntityManager to be implemented by EntityManager proxies.
JpaCallback<T> Deprecated. as of Spring 3.1, in favor of native EntityManager usage (typically obtained through @PersistenceContext)
JpaDialect SPI strategy that encapsulates certain functionality that standard JPA 1.0 does not offer, such as access to the underlying JDBC Connection.
JpaOperations Deprecated. as of Spring 3.1, in favor of native EntityManager usage (typically obtained through @PersistenceContext).
JpaVendorAdapter SPI interface that allows to plug in vendor-specific behavior into Spring's EntityManagerFactory creators.
 

Class Summary
AbstractEntityManagerFactoryBean Abstract FactoryBean that creates a local JPA javax.persistence.EntityManagerFactory instance within a Spring application context.
AbstractEntityManagerFactoryBean.ManagedEntityManagerFactoryInvocationHandler Dynamic proxy invocation handler proxying an EntityManagerFactory to return a proxy EntityManager if necessary from createEntityManager() methods.
AbstractEntityManagerFactoryBean.SerializedEntityManagerFactoryBeanReference Minimal bean reference to the surrounding AbstractEntityManagerFactoryBean.
DefaultJpaDialect Default implementation of the JpaDialect interface.
EntityManagerFactoryAccessor Base class for any class that needs to access an EntityManagerFactory, usually in order to obtain an EntityManager.
EntityManagerFactoryUtils Helper class featuring methods for JPA EntityManager handling, allowing for reuse of EntityManager instances within transactions.
EntityManagerFactoryUtils.EntityManagerSynchronization Callback for resource cleanup at the end of a non-JPA transaction (e.g.
EntityManagerHolder Holder wrapping a JPA EntityManager.
ExtendedEntityManagerCreator Factory for dynamic EntityManager proxies that follow the JPA spec's semantics for "extended" EntityManagers.
ExtendedEntityManagerCreator.ExtendedEntityManagerInvocationHandler InvocationHandler for extended EntityManagers as defined in the JPA spec.
ExtendedEntityManagerCreator.ExtendedEntityManagerSynchronization TransactionSynchronization enlisting an extended EntityManager with a current Spring transaction.
JpaAccessor Deprecated. as of Spring 3.1, in favor of native EntityManager usage (typically obtained through @PersistenceContext)
JpaInterceptor Deprecated. as of Spring 3.1, in favor of native EntityManager usage (typically obtained through @PersistenceContext) and AOP-driven exception translation through PersistenceExceptionTranslationPostProcessor
JpaTemplate Deprecated. as of Spring 3.1, in favor of native EntityManager usage (typically obtained through @PersistenceContext) Note that this class did not get upgraded to JPA 2.0 and never will.
JpaTransactionManager PlatformTransactionManager implementation for a single JPA javax.persistence.EntityManagerFactory.
JpaTransactionManager.SuspendedResourcesHolder Holder for suspended resources.
LocalContainerEntityManagerFactoryBean FactoryBean that creates a JPA javax.persistence.EntityManagerFactory according to JPA's standard container bootstrap contract.
LocalEntityManagerFactoryBean FactoryBean that creates a JPA javax.persistence.EntityManagerFactory according to JPA's standard standalone bootstrap contract.
SharedEntityManagerCreator Factory for a shareable JPA javax.persistence.EntityManager for a given javax.persistence.EntityManagerFactory.
SharedEntityManagerCreator.DeferredQueryInvocationHandler Invocation handler that handles deferred Query objects created by non-transactional createQuery invocations on a shared EntityManager.
SharedEntityManagerCreator.SharedEntityManagerInvocationHandler Invocation handler that delegates all calls to the current transactional EntityManager, if any; else, it will fall back to a newly created EntityManager per operation.
 

Exception Summary
JpaObjectRetrievalFailureException JPA-specific subclass of ObjectRetrievalFailureException.
JpaOptimisticLockingFailureException JPA-specific subclass of ObjectOptimisticLockingFailureException.
JpaSystemException JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concrete org.springframework.dao exceptions.
 

Package org.springframework.orm.jpa Description

Package providing integration of JPA (Java Persistence API) with Spring concepts. Contains EntityManagerFactory helper classes, a template plus callback for JPA access, and an implementation of Spring's transaction SPI for local JPA transactions.