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
FactoryBean
that creates a local JPAEntityManagerFactory
instance within a Spring application context.Default implementation of theJpaDialect
interface.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 ofEntityManager
to be implemented by EntityManager proxies.Delegate for creating a variety ofEntityManager
proxies 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.dao
exceptions.PlatformTransactionManager
implementation for a single JPAEntityManagerFactory
.SPI interface that allows to plug in vendor-specific behavior into Spring's EntityManagerFactory creators.FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard container bootstrap contract.FactoryBean
that creates a JPAEntityManagerFactory
according to JPA's standard standalone bootstrap contract.Delegate for creating a shareable JPAEntityManager
reference for a givenEntityManagerFactory
.