# Package org.springframework.orm.jpa

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

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  EntityManagerFactoryInfo | Metadata interface for a Spring-managed JPA `EntityManagerFactory`.
  EntityManagerProxy | Subinterface of `EntityManager` to be implemented by EntityManager proxies.
  JpaDialect | SPI strategy that encapsulates certain functionality that standard JPA 2.0 does not offer, such as access to the underlying JDBC Connection.
  JpaVendorAdapter | SPI interface that allows to plug in vendor-specific behavior into Spring's EntityManagerFactory creators.

- Class Summary
  Class | Description
  --- | ---
  AbstractEntityManagerFactoryBean | Abstract `FactoryBean` that creates a local JPA `EntityManagerFactory` instance within a Spring application context.
  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.
  EntityManagerHolder | Holder wrapping a JPA EntityManager.
  ExtendedEntityManagerCreator | Delegate for creating a variety of `EntityManager` proxies that follow the JPA spec's semantics for "extended" EntityManagers.
  JpaTransactionManager | `PlatformTransactionManager` implementation for a single JPA `EntityManagerFactory`.
  LocalContainerEntityManagerFactoryBean | `FactoryBean` that creates a JPA `EntityManagerFactory` according to JPA's standard container bootstrap contract.
  LocalEntityManagerFactoryBean | `FactoryBean` that creates a JPA `EntityManagerFactory` according to JPA's standard standalone bootstrap contract.
  SharedEntityManagerCreator | Delegate for creating a shareable JPA `EntityManager` reference for a given `EntityManagerFactory`.

- Exception Summary
  Exception | Description
  --- | ---
  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.