Package org.springframework.orm.jpa
@NullMarked
package org.springframework.orm.jpa
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.
-
ClassDescriptionAbstract
FactoryBeanthat creates a local JPAEntityManagerFactoryinstance within a Spring application context.Default implementation of theJpaDialectinterface.Base class for any class that needs to access a JPAEntityManagerFactory, usually in order to obtain a JPAEntityManager.Metadata interface for a Spring-managed JPAEntityManagerFactory.Helper class featuring methods for JPA EntityManager handling, allowing for reuse of EntityManager instances within transactions.Resource holder wrapping a JPAEntityManager.Subinterface ofEntityManagerto be implemented by EntityManager proxies.Delegate for creating a variety ofEntityManagerproxies that follow the JPA spec's semantics for "extended" EntityManagers.SPI strategy that encapsulates certain functionality that standard JPA 3.0 does not offer, such as access to the underlying JDBC Connection.JPA-specific subclass of ObjectRetrievalFailureException.JPA-specific subclass of ObjectOptimisticLockingFailureException.JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concreteorg.springframework.daoexceptions.PlatformTransactionManagerimplementation for a single JPAEntityManagerFactory.SPI interface that allows to plug in vendor-specific behavior into Spring's EntityManagerFactory creators.FactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard container bootstrap contract.FactoryBeanthat creates a JPAEntityManagerFactoryaccording to JPA's standard standalone bootstrap contract.Delegate for creating a shareable JPAEntityManagerreference for a givenEntityManagerFactory.