spring-framework / org.springframework.orm.jpa.persistenceunit

Package org.springframework.orm.jpa.persistenceunit

Types

PersistenceUnitManager

interface PersistenceUnitManager

Interface that defines an abstraction for finding and managing JPA PersistenceUnitInfos. Used by org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean in order to obtain a javax.persistence.spi.PersistenceUnitInfo for building a concrete javax.persistence.EntityManagerFactory.

Obtaining a PersistenceUnitInfo instance is an exclusive process. A PersistenceUnitInfo instance is not available for further calls anymore once it has been obtained.

PersistenceUnitPostProcessor

interface PersistenceUnitPostProcessor

Callback interface for post-processing a JPA PersistenceUnitInfo. Implementations can be registered with a DefaultPersistenceUnitManager or via a LocalContainerEntityManagerFactoryBean.

SmartPersistenceUnitInfo

interface SmartPersistenceUnitInfo : PersistenceUnitInfo

Extension of the standard JPA PersistenceUnitInfo interface, for advanced collaboration between Spring's org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean and PersistenceUnitManager implementations.