Index

A B C D E F G H I J L M O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractEntityManagerFactoryBean - Class in org.springframework.orm.jpa
Abstract FactoryBean that creates a local JPA EntityManagerFactory instance within a Spring application context.
AbstractEntityManagerFactoryBean() - Constructor for class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
AbstractJpaVendorAdapter - Class in org.springframework.orm.jpa.vendor
Abstract JpaVendorAdapter implementation that defines common properties, to be translated into vendor-specific JPA properties by concrete subclasses.
AbstractJpaVendorAdapter() - Constructor for class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
addJarFileUrl(URL) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
addManagedClassName(String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
Add a managed class name to the persistence provider's metadata.
addManagedPackage(String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
Add a managed package to the persistence provider's metadata.
addMappingFileName(String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
addPackages(String...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Add the given annotated packages in a batch.
addProperty(String, String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
addQualifierAnnotationName(String) - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
 
addTransformer(ClassTransformer) - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
This implementation delegates to the LoadTimeWeaver, if specified.
afterCompletion(WebRequest, Exception) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
 
afterConcurrentHandlingStarted(WebRequest) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
 
afterPropertiesSet() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
afterPropertiesSet() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Eagerly initialize the JPA dialect, creating a default one for the specified EntityManagerFactory if none set.
afterPropertiesSet() - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
 
afterPropertiesSet() - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
 
afterSingletonsInstantiated() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
afterSingletonsInstantiated() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
 
apply(PersistenceConfiguration, DataSourceLookup) - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
Apply the given JPA 3.2 PersistenceConfiguration to this persistence unit, copying all applicable settings.
apply(PersistenceManagedTypes) - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
Apply the given PersistenceManagedTypes to this persistence unit, typically coming from Spring AOT.
applyTransactionTimeout(Query, EntityManagerFactory) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Apply the current transaction timeout, if any, to the given JPA Query object.
asStandardPersistenceUnitInfo() - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
Expose a standard jakarta.persistence.spi.PersistenceUnitInfo proxy for the persistence unit configuration in this SpringPersistenceUnitInfo instance.

B

beginTransaction(EntityManager, TransactionDefinition) - Method in class org.springframework.orm.jpa.DefaultJpaDialect
This implementation invokes the standard JPA Transaction.begin method.
beginTransaction(EntityManager, TransactionDefinition) - Method in interface org.springframework.orm.jpa.JpaDialect
Begin the given JPA transaction, applying the semantics specified by the given Spring transaction definition (in particular, an isolation level and a timeout).
beginTransaction(EntityManager, TransactionDefinition) - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
 
beginTransaction(EntityManager, TransactionDefinition) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
 
buildSessionFactory(AsyncTaskExecutor) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Build the Hibernate SessionFactory through background bootstrapping, using the given executor for a parallel initialization phase (for example, a SimpleAsyncTaskExecutor).
buildSessionFactory(LocalSessionFactoryBuilder) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Subclasses can override this method to perform custom initialization of the SessionFactory instance, creating it via the given Configuration object that got prepared by this LocalSessionFactoryBean.

C

cleanupTransaction(Object) - Method in class org.springframework.orm.jpa.DefaultJpaDialect
This implementation does nothing, since the default beginTransaction implementation does not require any cleanup.
cleanupTransaction(Object) - Method in interface org.springframework.orm.jpa.JpaDialect
Clean up the transaction via the given transaction data.
cleanupTransaction(Object) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
 
clear() - Method in class org.springframework.orm.jpa.EntityManagerHolder
 
clear() - Method in class org.springframework.orm.jpa.hibernate.SessionHolder
 
closeAll() - Method in class org.springframework.orm.jpa.EntityManagerHolder
 
closeAll() - Method in class org.springframework.orm.jpa.hibernate.SessionHolder
 
closeEntityManager(EntityManager) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Close the given JPA EntityManager, catching and logging any cleanup exceptions thrown.
closeEntityManagerAfterFailedBegin(JpaTransactionManager.JpaTransactionObject) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Close the current transaction's EntityManager.
convertHibernateAccessException(HibernateException) - Method in class org.springframework.orm.jpa.hibernate.HibernateExceptionTranslator
Convert the given HibernateException to an appropriate exception from the org.springframework.dao hierarchy.
convertJpaAccessExceptionIfPossible(RuntimeException) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Convert the given runtime exception to an appropriate exception from the org.springframework.dao hierarchy.
createApplicationManagedEntityManager(EntityManager, EntityManagerFactoryInfo) - Static method in class org.springframework.orm.jpa.ExtendedEntityManagerCreator
Create an application-managed extended EntityManager proxy.
createApplicationManagedEntityManager(EntityManager, EntityManagerFactoryInfo, boolean) - Static method in class org.springframework.orm.jpa.ExtendedEntityManagerCreator
Create an application-managed extended EntityManager proxy.
createContainerManagedEntityManager(EntityManagerFactory) - Static method in class org.springframework.orm.jpa.ExtendedEntityManagerCreator
Create a container-managed extended EntityManager proxy.
createContainerManagedEntityManager(EntityManagerFactory, Map) - Static method in class org.springframework.orm.jpa.ExtendedEntityManagerCreator
Create a container-managed extended EntityManager proxy.
createContainerManagedEntityManager(EntityManagerFactory, Map, boolean) - Static method in class org.springframework.orm.jpa.ExtendedEntityManagerCreator
Create a container-managed extended EntityManager proxy.
createContainerManagedEntityManager(EntityManager, EntityManagerFactoryInfo) - Static method in class org.springframework.orm.jpa.ExtendedEntityManagerCreator
Create a container-managed extended EntityManager proxy.
createEntityManager() - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Obtain a new EntityManager from this accessor's EntityManagerFactory.
createEntityManager(EntityManagerFactory) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Create a JPA EntityManager to be bound to a request.
createEntityManagerFactoryProxy(EntityManagerFactory) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Create a proxy for the given EntityManagerFactory.
createEntityManagerForTransaction() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Create a JPA EntityManager to be used for a transaction.
createNativeEntityManager(Map) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
createNativeEntityManager(Map) - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Create a native JPA EntityManager to be used as the framework-managed resource behind an application-level EntityManager handle.
createNativeEntityManagerFactory() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Subclasses must implement this method to create the EntityManagerFactory that will be returned by the getObject() method.
createNativeEntityManagerFactory() - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
 
createNativeEntityManagerFactory() - Method in class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Initialize the EntityManagerFactory for the given configuration.
createSharedEntityManager(EntityManagerFactory) - Static method in class org.springframework.orm.jpa.SharedEntityManagerCreator
Create a transactional EntityManager proxy for the given EntityManagerFactory.
createSharedEntityManager(EntityManagerFactory, Map) - Static method in class org.springframework.orm.jpa.SharedEntityManagerCreator
Create a transactional EntityManager proxy for the given EntityManagerFactory.
createSharedEntityManager(EntityManagerFactory, Map, boolean) - Static method in class org.springframework.orm.jpa.SharedEntityManagerCreator
Create a transactional EntityManager proxy for the given EntityManagerFactory.
createSharedEntityManager(EntityManagerFactory, Map, boolean, Class...) - Static method in class org.springframework.orm.jpa.SharedEntityManagerCreator
Create a transactional EntityManager proxy for the given EntityManagerFactory.
createSharedEntityManager(EntityManagerFactory, Map, Class...) - Static method in class org.springframework.orm.jpa.SharedEntityManagerCreator
Create a transactional EntityManager proxy for the given EntityManagerFactory.
createSharedSession(SessionFactory) - Static method in class org.springframework.orm.jpa.hibernate.SharedSessionCreator
Create a shared Session proxy for the given SessionFactory.
createSharedStatelessSession(SessionFactory) - Static method in class org.springframework.orm.jpa.hibernate.SharedSessionCreator
Create a shared StatelessSession proxy for the given SessionFactory.
currentSession() - Method in class org.springframework.orm.jpa.hibernate.SpringSessionContext
Retrieve the Spring-managed Session for the current thread, if any.
currentStatelessSession(SessionFactory) - Static method in class org.springframework.orm.jpa.hibernate.SpringSessionContext
Obtain a StatelessSession for the current transaction.

D

Database - Enum Class in org.springframework.orm.jpa.vendor
Enumeration for common database platforms.
DB2 - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
DEFAULT - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
DEFAULT_ENTITY_MANAGER_FACTORY_BEAN_NAME - Static variable in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Default EntityManagerFactory bean name: "entityManagerFactory".
DEFAULT_PERSISTENCE_XML_LOCATION - Static variable in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Default location of the persistence.xml file: "classpath*:META-INF/persistence.xml".
DefaultJpaDialect - Class in org.springframework.orm.jpa
Default implementation of the JpaDialect interface.
DefaultJpaDialect() - Constructor for class org.springframework.orm.jpa.DefaultJpaDialect
 
DefaultPersistenceUnitManager - Class in org.springframework.orm.jpa.persistenceunit
Default implementation of the PersistenceUnitManager interface.
DefaultPersistenceUnitManager() - Constructor for class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
 
DERBY - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
destroy() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Close the EntityManagerFactory on bean factory shutdown.
destroy() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
 
determineDatabaseDialectClass(Database) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
Determine the Hibernate database dialect class for the given target database.
determineDatabaseDialectName(Database) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
Determine the Hibernate database dialect class name for the given target database.
determinePersistenceUnitInfo(PersistenceUnitManager) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Determine the PersistenceUnitInfo to use for the EntityManagerFactory created by this bean.
determineTargetDatabaseName(Database) - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter
Determine the EclipseLink target database name for the given database.
disconnectOnCompletion(Session) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Disconnect a pre-existing Hibernate Session on transaction completion, returning its database connection but preserving its entity state.
doBegin(Object, TransactionDefinition) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doBegin(Object, TransactionDefinition) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
doCleanupAfterCompletion(Object) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doCleanupAfterCompletion(Object) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
doCommit(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doCommit(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
 
doGetTransaction() - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doGetTransaction() - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
doGetTransactionalEntityManager(EntityManagerFactory, Map, boolean) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Obtain a JPA EntityManager from the given factory.
doGetTransactionalEntityManager(EntityManagerFactory, Map) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Obtain a JPA EntityManager from the given factory.
doResume(Object, Object) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doResume(Object, Object) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
doRollback(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doRollback(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
doSuspend(Object) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
doSuspend(Object) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 

E

EclipseLinkJpaDialect - Class in org.springframework.orm.jpa.vendor
JpaDialect implementation for Eclipse Persistence Services (EclipseLink).
EclipseLinkJpaDialect() - Constructor for class org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
 
EclipseLinkJpaVendorAdapter - Class in org.springframework.orm.jpa.vendor
JpaVendorAdapter implementation for Eclipse Persistence Services (EclipseLink).
EclipseLinkJpaVendorAdapter() - Constructor for class org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter
 
ENTITY_MANAGER_SYNCHRONIZATION_ORDER - Static variable in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Order value for TransactionSynchronization objects that clean up JPA EntityManagers.
entityManager - Variable in class org.springframework.orm.jpa.EntityManagerHolder
 
EntityManagerFactoryAccessor - Class in org.springframework.orm.jpa
Base class for any class that needs to access a JPA EntityManagerFactory, usually in order to obtain a JPA EntityManager.
EntityManagerFactoryAccessor() - Constructor for class org.springframework.orm.jpa.EntityManagerFactoryAccessor
 
EntityManagerFactoryInfo - Interface in org.springframework.orm.jpa
Metadata interface for a Spring-managed JPA EntityManagerFactory.
EntityManagerFactoryUtils - Class in org.springframework.orm.jpa
Helper class featuring methods for JPA EntityManager handling, allowing for reuse of EntityManager instances within transactions.
EntityManagerFactoryUtils() - Constructor for class org.springframework.orm.jpa.EntityManagerFactoryUtils
 
EntityManagerHolder - Class in org.springframework.orm.jpa
Resource holder wrapping a JPA EntityManager.
EntityManagerHolder(EntityManager) - Constructor for class org.springframework.orm.jpa.EntityManagerHolder
 
EntityManagerProxy - Interface in org.springframework.orm.jpa
Subinterface of EntityManager to be implemented by EntityManager proxies.
excludeUnlistedClasses() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
ExtendedEntityManagerCreator - Class in org.springframework.orm.jpa
Delegate for creating a variety of EntityManager proxies that follow the JPA spec's semantics for "extended" EntityManagers.
ExtendedEntityManagerCreator() - Constructor for class org.springframework.orm.jpa.ExtendedEntityManagerCreator
 

F

findDefaultEntityManagerFactory(String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Find a single default EntityManagerFactory in the Spring application context.
findEntityManagerFactory(String, String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Find an EntityManagerFactory with the given name in the current Spring application context, falling back to a single default EntityManagerFactory (if any) in case of no unit name specified.
findEntityManagerFactory(ListableBeanFactory, String) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Find an EntityManagerFactory with the given name in the given Spring application context (represented as ListableBeanFactory).
findNamedEntityManagerFactory(String, String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Find an EntityManagerFactory with the given name in the current Spring application context.

G

getBean(Class, BeanContainer.LifecycleOptions, BeanInstanceProducer) - Method in class org.springframework.orm.jpa.hibernate.SpringBeanContainer
 
getBean(String, Class, BeanContainer.LifecycleOptions, BeanInstanceProducer) - Method in class org.springframework.orm.jpa.hibernate.SpringBeanContainer
 
getBeanClassLoader() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getBeanClassLoader() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the ClassLoader that the application's beans are loaded with.
getBeanFactory() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getBeanName() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getBootstrapExecutor() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Return the asynchronous executor for background bootstrapping, if any.
getClassLoader() - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
This implementation returns the LoadTimeWeaver's instrumentable ClassLoader, if specified.
getConfiguration() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Return the Hibernate Configuration object used to build the SessionFactory.
getDatabase() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Return the target database to operate on.
getDatabasePlatform() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Return the name of the target database to operate on.
getDataSource() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getDataSource() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the JDBC DataSource that this EntityManagerFactory obtains its JDBC Connections from.
getDataSource() - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Return the JDBC DataSource that this instance manages transactions for.
getDataSource() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Return the JDBC DataSource that this instance manages transactions for.
getDataSource() - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
 
getDataSource() - Method in class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Expose the JDBC DataSource from the "jakarta.persistence.dataSource" property, if any.
getDataSourceLookup() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Return the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names in persistence.xml against Spring-managed DataSource instances.
getDefaultDataSource() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Return the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified in persistence.xml.
getDefaultJtaDataSource() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Return the JTA-aware DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified in persistence.xml.
getEntityInterceptor() - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Return the current Hibernate entity interceptor, or null if none.
getEntityManager() - Method in class org.springframework.orm.jpa.EntityManagerHolder
 
getEntityManagerFactory() - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Return the JPA EntityManagerFactory that should be used to create EntityManagers.
getEntityManagerFactory() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Return the EntityManagerFactory that this instance should manage transactions for.
getEntityManagerFactoryBeanName() - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Return the bean name of the EntityManagerFactory to fetch from Spring's root application context.
getEntityManagerFactoryInterface() - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Return the vendor-specific EntityManagerFactory interface that the EntityManagerFactory proxy is supposed to implement.
getEntityManagerFactoryInterface() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
getEntityManagerFactoryInterface() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
getEntityManagerInterface() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getEntityManagerInterface() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers will implement.
getEntityManagerInterface() - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Return the vendor-specific EntityManager interface that this provider's EntityManagers will implement.
getEntityManagerInterface() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
getEntityManagerInterface() - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter
 
getEntityManagerInterface() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
getHibernateProperties() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Return the Hibernate properties, if any.
getIdentifier() - Method in exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Return the identifier of the object for which the locking failed.
getIdentifier() - Method in exception class org.springframework.orm.ObjectRetrievalFailureException
Return the identifier of the object that was not found.
getJarFileUrls() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getJdbcConnection(EntityManager, boolean) - Method in class org.springframework.orm.jpa.DefaultJpaDialect
This implementation always returns null, indicating that no JDBC Connection can be provided.
getJdbcConnection(EntityManager, boolean) - Method in interface org.springframework.orm.jpa.JpaDialect
Retrieve the JDBC Connection that the given JPA EntityManager uses underneath, if accessing a relational database.
getJdbcConnection(EntityManager, boolean) - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
 
getJdbcConnection(EntityManager, boolean) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
 
getJpaDialect() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getJpaDialect() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the vendor-specific JpaDialect implementation for this EntityManagerFactory, or null if not known.
getJpaDialect() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Return the JPA dialect to use for this transaction manager.
getJpaDialect() - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Return the vendor-specific JpaDialect implementation for this provider, or null if there is none.
getJpaDialect() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
getJpaDialect() - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter
 
getJpaDialect() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
getJpaPropertyMap() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Allow Map access to the JPA properties to be passed to the persistence provider, with the option to add or override specific entries.
getJpaPropertyMap() - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Allow Map access to the JPA properties to be passed to the persistence provider, with the option to add or override specific entries.
getJpaPropertyMap() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Allow Map access to the JPA properties to be passed to the persistence provider, with the option to add or override specific entries.
getJpaPropertyMap() - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Return a Map of vendor-specific JPA properties, typically based on settings in this JpaVendorAdapter instance.
getJpaPropertyMap() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
getJpaPropertyMap() - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter
 
getJpaPropertyMap() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
getJpaPropertyMap(PersistenceUnitInfo) - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Return a Map of vendor-specific JPA properties for the given persistence unit, typically based on settings in this JpaVendorAdapter instance.
getJpaPropertyMap(PersistenceUnitInfo) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
getJpaPropertyMap(PersistenceUnitInfo) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
getJpaVendorAdapter() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Return the JpaVendorAdapter implementation for this EntityManagerFactory, or null if not known.
getJtaDataSource() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getLoadTimeWeaver() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Return the Spring LoadTimeWeaver to use for class instrumentation according to the JPA class transformer contract.
getManagedClassNames() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getManagedClassNames() - Method in interface org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypes
Return the class names the persistence provider must add to its set of managed classes.
getManagedPackages() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getManagedPackages() - Method in interface org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypes
Return a list of managed Java packages, to be introspected by the persistence provider.
getManagedPackages() - Method in interface org.springframework.orm.jpa.persistenceunit.SmartPersistenceUnitInfo
Return a list of managed Java packages, to be introspected by the persistence provider.
getMappingFileNames() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getMetadataSources() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Determine the Hibernate MetadataSources to use.
getNativeEntityManagerFactory() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getNativeEntityManagerFactory() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the raw underlying EntityManagerFactory.
getNewTempClassLoader() - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
This implementation delegates to the LoadTimeWeaver, if specified.
getNonJtaDataSource() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getObject() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Return the singleton EntityManagerFactory.
getObject() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
 
getObject() - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
 
getObject(Class) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Return either the singleton EntityManagerFactory or the shared EntityManager proxy.
getObject(Class) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Return either the singleton SessionFactory or a shared (Stateless)Session proxy.
getObjectType() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getObjectType() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
 
getObjectType() - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
 
getOrder() - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
getParticipateAttributeName() - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
Return the name of the request attribute that identifies that a request is already filtered.
getPersistenceConfiguration() - Method in class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Set a local JPA 3.2 PersistenceConfiguration to use for creating the EntityManagerFactory.
getPersistenceContext(String, boolean) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Return a specified persistence context for the given unit name, as defined through the "persistenceContexts" (or "extendedPersistenceContexts") map.
getPersistenceProvider() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getPersistenceProvider() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the underlying PersistenceProvider that the underlying EntityManagerFactory was created with.
getPersistenceProvider() - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Return the vendor-specific persistence provider.
getPersistenceProvider() - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter
 
getPersistenceProvider() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
getPersistenceProviderClassName() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getPersistenceProviderPackageName() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getPersistenceProviderRootPackage() - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Return the name of the persistence provider's root package (for example, "oracle.toplink.essentials").
getPersistenceProviderRootPackage() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
getPersistenceProviderRootPackage() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
getPersistenceUnit(String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Return a specified persistence unit for the given unit name, as defined through the "persistenceUnits" map.
getPersistenceUnitInfo() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getPersistenceUnitInfo() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the PersistenceUnitInfo used to create this EntityManagerFactory, if the in-container API was used.
getPersistenceUnitInfo() - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
 
getPersistenceUnitInfo(String) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Return the specified MutablePersistenceUnitInfo from this manager's cache of processed persistence units, keeping it in the cache (i.e.
getPersistenceUnitName() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
getPersistenceUnitName() - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Return the name of the persistence unit to access the EntityManagerFactory for, if any.
getPersistenceUnitName() - Method in interface org.springframework.orm.jpa.EntityManagerFactoryInfo
Return the name of the persistence unit used to create this EntityManagerFactory, or null if it is an unnamed default.
getPersistenceUnitName() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Return the name of the persistence unit to manage transactions for, if any.
getPersistenceUnitName() - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
 
getPersistenceUnitName() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getPersistenceUnitName() - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Return the name of the persistence unit to access the EntityManagerFactory for, if any.
getPersistenceUnitPostProcessors() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Return the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager.
getPersistenceUnitRootUrl() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getPersistenceUnitRootUrl() - Method in interface org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypes
Return the persistence unit root url or null if it could not be determined.
getPersistenceXMLSchemaVersion() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getPersistentClass() - Method in exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Return the persistent class of the object for which the locking failed.
getPersistentClass() - Method in exception class org.springframework.orm.ObjectRetrievalFailureException
Return the persistent class of the object that was not found.
getPersistentClassName() - Method in exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Return the name of the persistent class of the object for which the locking failed.
getPersistentClassName() - Method in exception class org.springframework.orm.ObjectRetrievalFailureException
Return the name of the persistent class of the object that was not found.
getProperties() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getQualifierAnnotationNames() - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
 
getResourceFactory() - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
getResourceFactory() - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
getResourceLoader() - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Determine the Spring ResourceLoader to use for Hibernate metadata.
getSavepointManager() - Method in class org.springframework.orm.jpa.EntityManagerHolder
 
getScopeAnnotationName() - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
 
getSession() - Method in class org.springframework.orm.jpa.hibernate.SessionHolder
 
getSessionFactory() - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Return the SessionFactory that this instance should manage transactions for.
getSharedCacheMode() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getTargetEntityManager() - Method in interface org.springframework.orm.jpa.EntityManagerProxy
Return the underlying EntityManager that this proxy will delegate to.
getTransactionalEntityManager() - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Obtain the transactional EntityManager for this accessor's EntityManagerFactory, if any.
getTransactionalEntityManager(EntityManagerFactory) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Obtain a JPA EntityManager from the given factory.
getTransactionalEntityManager(EntityManagerFactory, Map) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
Obtain a JPA EntityManager from the given factory.
getTransactionType() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
getValidationMode() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 

H

H2 - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
HANA - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
HibernateExceptionTranslator - Class in org.springframework.orm.jpa.hibernate
PersistenceExceptionTranslator capable of translating HibernateException and standard JPA PersistenceException instances to Spring' DataAccessException hierarchy.
HibernateExceptionTranslator() - Constructor for class org.springframework.orm.jpa.hibernate.HibernateExceptionTranslator
 
HibernateJpaDialect - Class in org.springframework.orm.jpa.vendor
JpaDialect implementation for Hibernate.
HibernateJpaDialect() - Constructor for class org.springframework.orm.jpa.vendor.HibernateJpaDialect
 
HibernateJpaVendorAdapter - Class in org.springframework.orm.jpa.vendor
JpaVendorAdapter implementation for Hibernate.
HibernateJpaVendorAdapter() - Constructor for class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
 
HibernateTransactionManager - Class in org.springframework.orm.jpa.hibernate
PlatformTransactionManager implementation for a single Hibernate SessionFactory.
HibernateTransactionManager() - Constructor for class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Create a new HibernateTransactionManager instance.
HibernateTransactionManager(SessionFactory) - Constructor for class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Create a new HibernateTransactionManager instance.
HSQL - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 

I

INFORMIX - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
isConfiguredForJta() - Method in interface org.springframework.orm.jpa.persistenceunit.SmartPersistenceUnitInfo
Determine whether this persistence unit is configured for JTA transactions.
isExistingTransaction(Object) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
 
isExistingTransaction(Object) - Method in class org.springframework.orm.jpa.JpaTransactionManager
 
isGenerateDdl() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Return whether to generate DDL after the EntityManagerFactory has been initialized creating/updating all relevant tables.
isPersistenceUnitOverrideAllowed() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Return whether an override of a same-named persistence unit is allowed.
isShowSql() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Return whether to show SQL in the log (or in the console).
isSingleton() - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
 
isTransactionActive() - Method in class org.springframework.orm.jpa.EntityManagerHolder
 

J

JpaDialect - Interface in org.springframework.orm.jpa
SPI strategy that encapsulates certain functionality that standard JPA 3.0 does not offer, such as access to the underlying JDBC Connection.
JpaObjectRetrievalFailureException - Exception Class in org.springframework.orm.jpa
JPA-specific subclass of ObjectRetrievalFailureException.
JpaObjectRetrievalFailureException(EntityNotFoundException) - Constructor for exception class org.springframework.orm.jpa.JpaObjectRetrievalFailureException
 
JpaOptimisticLockingFailureException - Exception Class in org.springframework.orm.jpa
JPA-specific subclass of ObjectOptimisticLockingFailureException.
JpaOptimisticLockingFailureException(OptimisticLockException) - Constructor for exception class org.springframework.orm.jpa.JpaOptimisticLockingFailureException
 
JpaSystemException - Exception Class in org.springframework.orm.jpa
JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concrete org.springframework.dao exceptions.
JpaSystemException(RuntimeException) - Constructor for exception class org.springframework.orm.jpa.JpaSystemException
 
JpaTransactionManager - Class in org.springframework.orm.jpa
PlatformTransactionManager implementation for a single JPA EntityManagerFactory.
JpaTransactionManager() - Constructor for class org.springframework.orm.jpa.JpaTransactionManager
Create a new JpaTransactionManager instance.
JpaTransactionManager(EntityManagerFactory) - Constructor for class org.springframework.orm.jpa.JpaTransactionManager
Create a new JpaTransactionManager instance.
JpaVendorAdapter - Interface in org.springframework.orm.jpa
SPI interface that allows to plug in vendor-specific behavior into Spring's EntityManagerFactory creators.

L

LocalContainerEntityManagerFactoryBean - Class in org.springframework.orm.jpa
FactoryBean that creates a JPA EntityManagerFactory according to JPA's standard container bootstrap contract.
LocalContainerEntityManagerFactoryBean() - Constructor for class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
 
LocalEntityManagerFactoryBean - Class in org.springframework.orm.jpa
FactoryBean that creates a JPA EntityManagerFactory according to JPA's standard standalone bootstrap contract.
LocalEntityManagerFactoryBean() - Constructor for class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Create a LocalEntityManagerFactoryBean.
LocalEntityManagerFactoryBean(PersistenceConfiguration) - Constructor for class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Create a LocalEntityManagerFactoryBean for the given persistence unit.
LocalEntityManagerFactoryBean(String) - Constructor for class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Create a LocalEntityManagerFactoryBean for the given persistence unit.
LocalSessionFactoryBean - Class in org.springframework.orm.jpa.hibernate
FactoryBean that creates a Hibernate SessionFactory.
LocalSessionFactoryBean() - Constructor for class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
 
LocalSessionFactoryBuilder - Class in org.springframework.orm.jpa.hibernate
A Spring-provided extension of the standard Hibernate Configuration class, adding SpringSessionContext as a default and providing convenient ways to specify a JDBC DataSource and an application class loader.
LocalSessionFactoryBuilder(DataSource) - Constructor for class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Create a new LocalSessionFactoryBuilder for the given DataSource.
LocalSessionFactoryBuilder(DataSource, ClassLoader) - Constructor for class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Create a new LocalSessionFactoryBuilder for the given DataSource.
LocalSessionFactoryBuilder(DataSource, ResourceLoader) - Constructor for class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Create a new LocalSessionFactoryBuilder for the given DataSource.
LocalSessionFactoryBuilder(DataSource, ResourceLoader, MetadataSources) - Constructor for class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Create a new LocalSessionFactoryBuilder for the given DataSource.
logger - Variable in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Logger available to subclasses.
logger - Variable in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Logger available to subclasses.
logger - Variable in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
 
lookup(String, Class) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Perform a JNDI lookup for the given resource by name.
lookupEntityManagerFactory() - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Look up the EntityManagerFactory that this filter should use.
lookupEntityManagerFactory(HttpServletRequest) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Look up the EntityManagerFactory that this filter should use, taking the current HTTP request as argument.

M

ManagedClassNameFilter - Interface in org.springframework.orm.jpa.persistenceunit
Strategy interface to filter the list of persistent managed types to include in the persistence unit.
matches(String) - Method in interface org.springframework.orm.jpa.persistenceunit.ManagedClassNameFilter
Test if the given class name matches the filter.
MutablePersistenceUnitInfo - Class in org.springframework.orm.jpa.persistenceunit
Spring's mutable equivalent of the JPA PersistenceUnitInfo interface, used to bootstrap an EntityManagerFactory in a container.
MutablePersistenceUnitInfo() - Constructor for class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
MYSQL - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 

O

ObjectOptimisticLockingFailureException - Exception Class in org.springframework.orm
Exception thrown on an optimistic locking violation for a mapped object.
ObjectOptimisticLockingFailureException(String, Throwable) - Constructor for exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Create a general ObjectOptimisticLockingFailureException with the given message, without any information on the affected object.
ObjectOptimisticLockingFailureException(Class, Object, String, Throwable) - Constructor for exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.
ObjectOptimisticLockingFailureException(Class, Object) - Constructor for exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.
ObjectOptimisticLockingFailureException(Class, Object, Throwable) - Constructor for exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.
ObjectOptimisticLockingFailureException(String, Object, String, Throwable) - Constructor for exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.
ObjectOptimisticLockingFailureException(String, Object) - Constructor for exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.
ObjectOptimisticLockingFailureException(String, Object, Throwable) - Constructor for exception class org.springframework.orm.ObjectOptimisticLockingFailureException
Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.
ObjectRetrievalFailureException - Exception Class in org.springframework.orm
Exception thrown if a mapped object could not be retrieved via its identifier.
ObjectRetrievalFailureException(String, Throwable) - Constructor for exception class org.springframework.orm.ObjectRetrievalFailureException
Create a general ObjectRetrievalFailureException with the given message, without any information on the affected object.
ObjectRetrievalFailureException(Class, Object, String, Throwable) - Constructor for exception class org.springframework.orm.ObjectRetrievalFailureException
Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.
ObjectRetrievalFailureException(Class, Object) - Constructor for exception class org.springframework.orm.ObjectRetrievalFailureException
Create a new ObjectRetrievalFailureException for the given object, with the default "not found" message.
ObjectRetrievalFailureException(String, Object, String, Throwable) - Constructor for exception class org.springframework.orm.ObjectRetrievalFailureException
Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.
ObjectRetrievalFailureException(String, Object) - Constructor for exception class org.springframework.orm.ObjectRetrievalFailureException
Create a new ObjectRetrievalFailureException for the given object, with the default "not found" message.
obtainDefaultPersistenceUnitInfo() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
 
obtainDefaultPersistenceUnitInfo() - Method in interface org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager
Obtain the default PersistenceUnitInfo from this manager.
obtainEntityManagerFactory() - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Obtain the EntityManagerFactory for actual use.
obtainEntityManagerFactory() - Method in class org.springframework.orm.jpa.JpaTransactionManager
Obtain the EntityManagerFactory for actual use.
obtainPersistenceUnitInfo(String) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
 
obtainPersistenceUnitInfo(String) - Method in interface org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager
Obtain the specified PersistenceUnitInfo from this manager.
obtainSessionFactory() - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Obtain the SessionFactory for actual use.
of(String...) - Static method in interface org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypes
Create an instance using the specified managed class names.
of(List, List) - Static method in interface org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypes
Create an instance using the specified managed class names and packages.
OpenEntityManagerInViewFilter - Class in org.springframework.orm.jpa.support
Servlet Filter that binds a JPA EntityManager to the thread for the entire processing of the request.
OpenEntityManagerInViewFilter() - Constructor for class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
 
OpenEntityManagerInViewInterceptor - Class in org.springframework.orm.jpa.support
Spring web request interceptor that binds a JPA EntityManager to the thread for the entire processing of the request.
OpenEntityManagerInViewInterceptor() - Constructor for class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
 
ORACLE - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
org.springframework.orm - package org.springframework.orm
Root package for Spring's O/R Mapping integration classes.
org.springframework.orm.jpa - package org.springframework.orm.jpa
Package providing integration of JPA (Java Persistence API) with Spring concepts.
org.springframework.orm.jpa.hibernate - package org.springframework.orm.jpa.hibernate
Hibernate-specific support classes, integrated with JPA.
org.springframework.orm.jpa.persistenceunit - package org.springframework.orm.jpa.persistenceunit
Internal support for managing JPA persistence units.
org.springframework.orm.jpa.support - package org.springframework.orm.jpa.support
Classes supporting the org.springframework.orm.jpa package.
org.springframework.orm.jpa.vendor - package org.springframework.orm.jpa.vendor
Support classes for adapting to specific JPA vendors.
ORIGINAL_DEFAULT_PERSISTENCE_UNIT_NAME - Static variable in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Default persistence unit name.
ORIGINAL_DEFAULT_PERSISTENCE_UNIT_ROOT_LOCATION - Static variable in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Default location for the persistence unit root URL: "classpath:", indicating the root of the classpath.

P

PARTICIPATE_SUFFIX - Static variable in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
Suffix that gets appended to the EntityManagerFactory toString representation for the "participate in existing entity manager handling" request attribute.
PersistenceAnnotationBeanPostProcessor - Class in org.springframework.orm.jpa.support
BeanPostProcessor that processes PersistenceUnit and PersistenceContext annotations, for injection of the corresponding JPA resources EntityManagerFactory and EntityManager.
PersistenceAnnotationBeanPostProcessor() - Constructor for class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
PersistenceManagedTypes - Interface in org.springframework.orm.jpa.persistenceunit
Provide the list of managed persistent types that an entity manager should consider.
PersistenceManagedTypesScanner - Class in org.springframework.orm.jpa.persistenceunit
PersistenceManagedTypesScanner(ResourceLoader) - Constructor for class org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypesScanner
Create a new PersistenceManagedTypesScanner for the given resource loader.
PersistenceManagedTypesScanner(ResourceLoader, ManagedClassNameFilter) - Constructor for class org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypesScanner
Create a new PersistenceManagedTypesScanner for the given resource loader.
PersistenceUnitManager - Interface in org.springframework.orm.jpa.persistenceunit
Interface that defines an abstraction for finding and managing JPA PersistenceUnitInfos.
PersistenceUnitPostProcessor - Interface in org.springframework.orm.jpa.persistenceunit
Callback interface for post-processing a MutablePersistenceUnitInfo configuration that Spring prepares for JPA persistence unit bootstrapping.
POSTGRESQL - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
postHandle(WebRequest, ModelMap) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
 
postProcessBeforeDestruction(Object, String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
postProcessEntityManager(EntityManager) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Optional callback for post-processing the native EntityManager before active use.
postProcessEntityManager(EntityManager) - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Optional callback for post-processing the native EntityManager before active use.
postProcessEntityManager(EntityManager) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
postProcessEntityManagerFactory(EntityManagerFactory) - Method in interface org.springframework.orm.jpa.JpaVendorAdapter
Optional callback for post-processing the native EntityManagerFactory before active use.
postProcessEntityManagerFactory(EntityManagerFactory) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
 
postProcessEntityManagerFactory(EntityManagerFactory, PersistenceUnitInfo) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Hook method allowing subclasses to customize the EntityManagerFactory after its creation via the PersistenceProvider.
postProcessMergedBeanDefinition(RootBeanDefinition, Class, String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Hook method allowing subclasses to customize each MutablePersistenceUnitInfo.
postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo) - Method in interface org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
Post-process the given MutablePersistenceUnitInfo, for example registering further entity classes and jar files.
postProcessProperties(PropertyValues, Object, String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
preHandle(WebRequest) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
 
prepareFlushMode(Session, boolean) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
 
preparePersistenceUnitInfos() - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Prepare the PersistenceUnitInfos according to the configuration of this manager: scanning for persistence.xml files, parsing all matching files, configuring and post-processing them.
prepareTransaction(EntityManager, boolean, String) - Method in class org.springframework.orm.jpa.DefaultJpaDialect
 
prepareTransaction(EntityManager, boolean, String) - Method in interface org.springframework.orm.jpa.JpaDialect
Prepare a JPA transaction, applying the specified semantics.
prepareTransaction(EntityManager, boolean, String) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
 
processAheadOfTime(RegisteredBean) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 

R

registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfoRuntimeHints
 
releaseJdbcConnection(ConnectionHandle, EntityManager) - Method in class org.springframework.orm.jpa.DefaultJpaDialect
This implementation does nothing, assuming that the Connection will implicitly be closed with the EntityManager.
releaseJdbcConnection(ConnectionHandle, EntityManager) - Method in interface org.springframework.orm.jpa.JpaDialect
Release the given JDBC Connection, which has originally been retrieved via getJdbcConnection.
requiresDestruction(Object) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
resetBeanDefinition(String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 

S

scan(String...) - Method in class org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypesScanner
Scan the specified packages and return a PersistenceManagedTypes that represents the result of the scanning.
scanPackages(String...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Perform Spring-based scanning for entity classes, registering them as annotated classes with this Configuration.
SessionHolder - Class in org.springframework.orm.jpa.hibernate
Resource holder wrapping a Hibernate Session (plus an optional Transaction).
SessionHolder(Session) - Constructor for class org.springframework.orm.jpa.hibernate.SessionHolder
 
setAnnotatedClasses(Class...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify annotated entity classes to register with this Hibernate SessionFactory.
setAnnotatedPackages(String...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify the names of annotated packages, for which package-level annotation metadata will be read.
setAutodetectDataSource(boolean) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Set whether to autodetect a JDBC DataSource used by the Hibernate SessionFactory, if set via LocalSessionFactoryBean's setDataSource.
setBeanClassLoader(ClassLoader) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
setBeanContainer(ConfigurableListableBeanFactory) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Set a Hibernate BeanContainer for the given Spring ConfigurableListableBeanFactory.
setBeanFactory(BeanFactory) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
setBeanFactory(BeanFactory) - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.
setBeanFactory(BeanFactory) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
The bean factory just needs to be known for resolving entity interceptor bean names.
setBeanFactory(BeanFactory) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Accept the containing BeanFactory, registering corresponding Hibernate BeanContainer integration for it if possible.
setBeanFactory(BeanFactory) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Retrieves an EntityManagerFactory by persistence unit name, if none set explicitly.
setBeanFactory(BeanFactory) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
setBeanName(String) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
setBootstrapExecutor(AsyncTaskExecutor) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify an asynchronous executor for background bootstrapping, for example, a SimpleAsyncTaskExecutor.
setBootstrapExecutor(AsyncTaskExecutor) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify an asynchronous executor for background bootstrapping, for example, a SimpleAsyncTaskExecutor.
setCacheableMappingLocations(Resource...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set locations of cacheable Hibernate mapping files, for example as web app resource "/WEB-INF/mapping/example.hbm.xml".
setCacheRegionFactory(RegionFactory) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set the Hibernate RegionFactory to use for the SessionFactory.
setCacheRegionFactory(RegionFactory) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Set the Hibernate RegionFactory to use for the SessionFactory.
setConfigLocation(Resource) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set the location of a single Hibernate XML config file, for example as classpath resource "classpath:hibernate.cfg.xml".
setConfigLocations(Resource...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set the locations of multiple Hibernate XML config files, for example as classpath resources "classpath:hibernate.cfg.xml,classpath:extension.cfg.xml".
setCurrentTenantIdentifierResolver(CurrentTenantIdentifierResolver) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set a CurrentTenantIdentifierResolver to be passed on to the SessionFactory.
setCurrentTenantIdentifierResolver(CurrentTenantIdentifierResolver) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Overridden to reliably pass a CurrentTenantIdentifierResolver to the SessionFactory.
setDatabase(Database) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Specify the target database to operate on, as a value of the Database enum: DB2, DERBY, H2, HANA, HSQL, INFORMIX, MYSQL, ORACLE, POSTGRESQL, SQL_SERVER, SYBASE
setDatabasePlatform(String) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Specify the name of the target database to operate on.
setDataSource(DataSource) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Set the JDBC DataSource that this instance should manage transactions for.
setDataSource(DataSource) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Set the JDBC DataSource that this instance should manage transactions for.
setDataSource(DataSource) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.
setDataSource(DataSource) - Method in class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.
setDataSource(DataSource) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set the DataSource to be used by the SessionFactory.
setDataSourceLookup(DataSourceLookup) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names in persistence.xml against Spring-managed DataSource instances.
setDataSources(Map) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the JDBC DataSources that the JPA persistence provider is supposed to use for accessing the database, resolving data source names in persistence.xml against Spring-managed DataSources.
setDefaultDataSource(DataSource) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified in persistence.xml.
setDefaultJtaDataSource(DataSource) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified in persistence.xml.
setDefaultPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Specify the default persistence unit name, to be used in case of no unit name specified in an @PersistenceUnit / @PersistenceContext annotation.
setDefaultPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the name of the default persistence unit, if any.
setDefaultPersistenceUnitRootLocation(String) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Set the default persistence unit root location, to be applied if no unit-specific persistence unit root could be determined.
setEntityInterceptor(Interceptor) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Set a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.
setEntityInterceptor(Interceptor) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.
setEntityInterceptorBeanName(String) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Set the bean name of a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.
setEntityManagerFactory(EntityManagerFactory) - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Set the JPA EntityManagerFactory that should be used to create EntityManagers.
setEntityManagerFactory(EntityManagerFactory) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Set the EntityManagerFactory that this instance should manage transactions for.
setEntityManagerFactoryBeanName(String) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Set the bean name of the EntityManagerFactory to fetch from Spring's root application context.
setEntityManagerFactoryInterface(Class) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify the (potentially vendor-specific) EntityManagerFactory interface that this EntityManagerFactory proxy is supposed to implement.
setEntityManagerInitializer(Consumer) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify a callback for customizing every EntityManager created by the exposed EntityManagerFactory.
setEntityManagerInitializer(Consumer) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Specify a callback for customizing every EntityManager resource created for a new transaction managed by this JpaTransactionManager.
setEntityManagerInterface(Class) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers are supposed to implement.
setEntityManagerInterface(Class) - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
Specify the EntityManager interface to expose.
setEntityTypeFilters(TypeFilter...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify custom type filters for Spring-based scanning for entity classes.
setEntityTypeFilters(TypeFilter...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Specify custom type filters for Spring-based scanning for entity classes.
setExcludeUnlistedClasses(boolean) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setExtendedPersistenceContexts(Map) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Specify the extended persistence contexts for EntityManager lookups, as a Map from persistence unit name to persistence context JNDI name (which needs to resolve to an EntityManager instance).
setGenerateDdl(boolean) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Set whether to generate DDL after the EntityManagerFactory has been initialized, creating/updating all relevant tables.
setHibernateIntegrators(Integrator...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify one or more Hibernate Integrator implementations to apply.
setHibernateManagedSession(boolean) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Set whether to operate on a Hibernate-managed Session instead of a Spring-managed Session, that is, whether to obtain the Session through Hibernate's SessionFactory.getCurrentSession() instead of SessionFactory.openSession() (with a Spring TransactionSynchronizationManager check preceding it).
setHibernateProperties(Properties) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set Hibernate properties, such as "hibernate.dialect".
setImplicitNamingStrategy(ImplicitNamingStrategy) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set a Hibernate 5 ImplicitNamingStrategy for the SessionFactory.
setJdbcExceptionTranslator(SQLExceptionTranslator) - Method in class org.springframework.orm.jpa.hibernate.HibernateExceptionTranslator
Set the JDBC exception translator for Hibernate exception translation purposes.
setJdbcExceptionTranslator(SQLExceptionTranslator) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
Set the JDBC exception translator for Hibernate exception translation purposes.
setJndiEnvironment(Properties) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Set the JNDI environment to use for JNDI lookups.
setJndiTemplate(Object) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Set the JNDI template to use for JNDI lookups.
setJpaDialect(JpaDialect) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify the vendor-specific JpaDialect implementation to associate with this EntityManagerFactory.
setJpaDialect(JpaDialect) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Set the JPA dialect to use for this transaction manager.
setJpaProperties(Properties) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Specify JPA properties, to be passed into EntityManagerFactory.createEntityManager(Map) (if any).
setJpaProperties(Properties) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify JPA properties, to be passed into Persistence.createEntityManagerFactory (if any).
setJpaProperties(Properties) - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Specify JPA properties, to be passed into EntityManagerFactory.createEntityManager(Map) (if any).
setJpaPropertyMap(Map) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify JPA properties as a Map, to be passed into Persistence.createEntityManagerFactory (if any).
setJpaPropertyMap(Map) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Specify JPA properties as a Map, to be passed into EntityManagerFactory.createEntityManager(Map) (if any).
setJpaPropertyMap(Map) - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Specify JPA properties as a Map, to be passed into EntityManagerFactory.createEntityManager(Map) (if any).
setJpaVendorAdapter(JpaVendorAdapter) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify the JpaVendorAdapter implementation for the desired JPA provider, if any.
setJtaDataSource(DataSource) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.
setJtaDataSource(DataSource) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setJtaTransactionManager(Object) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set the Spring JtaTransactionManager or the JTA TransactionManager to be used with Hibernate, if any.
setJtaTransactionManager(Object) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Set the Spring JtaTransactionManager or the JTA TransactionManager to be used with Hibernate, if any.
setLazyDatabaseTransaction(boolean) - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect
Set whether to lazily start a database resource transaction within a Spring-managed EclipseLink transaction.
setLoadTimeWeaver(LoadTimeWeaver) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the Spring LoadTimeWeaver to use for class instrumentation according to the JPA class transformer contract.
setLoadTimeWeaver(LoadTimeWeaver) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Specify the Spring LoadTimeWeaver to use for class instrumentation according to the JPA class transformer contract.
setManagedClassNameFilter(ManagedClassNameFilter) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set the ManagedClassNameFilter to apply on entity classes discovered using classpath scanning.
setManagedClassNameFilter(ManagedClassNameFilter) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Set the ManagedClassNameFilter to apply on entity classes discovered using classpath scanning.
setManagedTypes(PersistenceManagedTypes) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set the PersistenceManagedTypes to use to build the list of managed types as an alternative to entity scanning.
setManagedTypes(PersistenceManagedTypes) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Set the PersistenceManagedTypes to use to build the list of managed types for the default persistence unit, as an alternative to entity scanning.
setMappingDirectoryLocations(Resource...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set locations of directories that contain Hibernate mapping resources, like "WEB-INF/mappings".
setMappingJarLocations(Resource...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set locations of jar files that contain Hibernate mapping resources, like "WEB-INF/lib/example.hbm.jar".
setMappingLocations(Resource...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set locations of Hibernate mapping files, for example as classpath resource "classpath:example.hbm.xml".
setMappingResources(String...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set Hibernate mapping resources to be found in the class path, like "example.hbm.xml" or "mypackage/example.hbm.xml".
setMappingResources(String...) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Specify one or more mapping resources (equivalent to <mapping-file> entries in persistence.xml) for the default persistence unit.
setMappingResources(String...) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify one or more mapping resources (equivalent to <mapping-file> entries in persistence.xml) for the default persistence unit.
setMetadataSources(MetadataSources) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify a Hibernate MetadataSources service to use (for example, reusing an existing one), potentially populated with a custom Hibernate bootstrap ServiceRegistry as well.
setMultiTenantConnectionProvider(MultiTenantConnectionProvider) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set a MultiTenantConnectionProvider to be passed on to the SessionFactory.
setMultiTenantConnectionProvider(MultiTenantConnectionProvider) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBuilder
Set a MultiTenantConnectionProvider to be passed on to the SessionFactory.
setNonJtaDataSource(DataSource) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setOrder(int) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
 
setPackagesToScan(String...) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify packages to search for autodetection of your entity classes in the classpath.
setPackagesToScan(String...) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set whether to use Spring-based scanning for entity classes in the classpath instead of using JPA's standard scanning of jar files with persistence.xml markers in them.
setPackagesToScan(String...) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Set whether to use Spring-based scanning for entity classes in the classpath instead of using JPA's standard scanning of jar files with persistence.xml markers in them.
setPersistenceConfiguration(PersistenceConfiguration) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set a local JPA 3.2 PersistenceConfiguration to use for this persistence unit.
setPersistenceConfiguration(PersistenceConfiguration) - Method in class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
Set a local JPA 3.2 PersistenceConfiguration to use for creating the EntityManagerFactory.
setPersistenceConfiguration(PersistenceConfiguration) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Set a JPA 3.2 PersistenceConfiguration to apply to the default persistence unit.
setPersistenceContexts(Map) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Specify the transactional persistence contexts for EntityManager lookups, as a Map from persistence unit name to persistence context JNDI name (which needs to resolve to an EntityManager instance).
setPersistenceProvider(PersistenceProvider) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Set the PersistenceProvider instance to use for creating the EntityManagerFactory.
setPersistenceProviderClass(Class) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Set the PersistenceProvider implementation class to use for creating the EntityManagerFactory.
setPersistenceProviderClassName(String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setPersistenceProviderPackageName(String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setPersistenceProviderPackageName(String) - Method in interface org.springframework.orm.jpa.persistenceunit.SmartPersistenceUnitInfo
Set the persistence provider's own package name, for exclusion from class transformation.
setPersistenceUnitManager(PersistenceUnitManager) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set the PersistenceUnitManager to use for obtaining the JPA persistence unit that this FactoryBean is supposed to build an EntityManagerFactory for.
setPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Specify the name of the EntityManagerFactory configuration.
setPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
Set the name of the persistence unit to access the EntityManagerFactory for.
setPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.JpaTransactionManager
Set the name of the persistence unit to manage transactions for.
setPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Uses the specified persistence unit name as the name of the default persistence unit, if applicable.
setPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
 
setPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setPersistenceUnitName(String) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Set the name of the persistence unit to access the EntityManagerFactory for.
setPersistenceUnitPostProcessors(PersistenceUnitPostProcessor...) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set the PersistenceUnitPostProcessors to be applied to the PersistenceUnitInfo used for creating this EntityManagerFactory.
setPersistenceUnitPostProcessors(PersistenceUnitPostProcessor...) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Set the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager.
setPersistenceUnitRootLocation(String) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set a persistence unit root location for the default persistence unit.
setPersistenceUnitRootUrl(URL) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setPersistenceUnits(Map) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Specify the persistence units for EntityManagerFactory lookups, as a Map from persistence unit name to persistence unit JNDI name (which needs to resolve to an EntityManagerFactory instance).
setPersistenceXmlLocation(String) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Set the location of the persistence.xml file we want to use.
setPersistenceXmlLocation(String) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the location of the persistence.xml files to load.
setPersistenceXmlLocations(String...) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify multiple locations of persistence.xml files to load.
setPersistenceXMLSchemaVersion(String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setPhysicalNamingStrategy(PhysicalNamingStrategy) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Set a Hibernate 5 PhysicalNamingStrategy for the SessionFactory.
setPrepareConnection(boolean) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Set whether to prepare the underlying JDBC Connection of a transactional Hibernate Session, that is, whether to apply a transaction-specific isolation level and/or the transaction's read-only flag to the underlying JDBC Connection.
setPrepareConnection(boolean) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
Set whether to prepare the underlying JDBC Connection of a transactional Hibernate Session, that is, whether to apply a transaction-specific isolation level and/or the transaction's read-only flag to the underlying JDBC Connection.
setPrepareConnection(boolean) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
Set whether to prepare the underlying JDBC Connection of a transactional Hibernate Session, that is, whether to apply a transaction-specific isolation level and/or the transaction's read-only flag to the underlying JDBC Connection.
setProperties(Properties) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setResourceLoader(ResourceLoader) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
Specify a Spring ResourceLoader to use for Hibernate metadata.
setResourceLoader(ResourceLoader) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
 
setResourceLoader(ResourceLoader) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
 
setResourceRef(boolean) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
Set whether the lookup occurs in a Jakarta EE container, i.e.
setSavepointManager(SavepointManager) - Method in class org.springframework.orm.jpa.EntityManagerHolder
 
setScopeAnnotationName(String) - Method in class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
 
setSessionFactory(SessionFactory) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Set the SessionFactory that this instance should manage transactions for.
setSessionInitializer(Consumer) - Method in class org.springframework.orm.jpa.hibernate.HibernateTransactionManager
Specify a callback for customizing every Hibernate Session resource created for a new transaction managed by this HibernateTransactionManager.
setSharedCacheMode(SharedCacheMode) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Specify the JPA 2.0 shared cache mode for this persistence unit, overriding a value in persistence.xml if set.
setSharedCacheMode(SharedCacheMode) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the JPA 2.0 shared cache mode for all of this manager's persistence units, overriding any value in persistence.xml if set.
setSharedCacheMode(SharedCacheMode) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setShowSql(boolean) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
Set whether to show SQL in the log (or in the console).
setSynchronizedWithTransaction(boolean) - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
Set whether to automatically join ongoing transactions (according to the JPA 2.1 SynchronizationType rules).
setTransactionActive(boolean) - Method in class org.springframework.orm.jpa.EntityManagerHolder
 
setTransactionType(PersistenceUnitTransactionType) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
setValidationMode(ValidationMode) - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
Specify the JPA 2.0 validation mode for this persistence unit, overriding a value in persistence.xml if set.
setValidationMode(ValidationMode) - Method in class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager
Specify the JPA 2.0 validation mode for all of this manager's persistence units, overriding any value in persistence.xml if set.
setValidationMode(ValidationMode) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
SharedEntityManagerBean - Class in org.springframework.orm.jpa.support
FactoryBean that exposes a shared JPA EntityManager reference for a given EntityManagerFactory.
SharedEntityManagerBean() - Constructor for class org.springframework.orm.jpa.support.SharedEntityManagerBean
 
SharedEntityManagerCreator - Class in org.springframework.orm.jpa
Delegate for creating a shareable JPA EntityManager reference for a given EntityManagerFactory.
SharedEntityManagerCreator() - Constructor for class org.springframework.orm.jpa.SharedEntityManagerCreator
 
SharedSessionCreator - Class in org.springframework.orm.jpa.hibernate
Delegate for creating shareable Session/StatelessSession references for a given SessionFactory.
SharedSessionCreator() - Constructor for class org.springframework.orm.jpa.hibernate.SharedSessionCreator
 
shouldCommitOnGlobalRollbackOnly() - Method in class org.springframework.orm.jpa.JpaTransactionManager
This implementation returns "true": a JPA commit will properly handle transactions that have been marked rollback-only at a global level.
shouldNotFilterAsyncDispatch() - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Returns "false" so that the filter may re-bind the opened EntityManager to each asynchronously dispatched thread and postpone closing it until the very last asynchronous dispatch.
shouldNotFilterErrorDispatch() - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
Returns "false" so that the filter may provide an EntityManager to each error dispatches.
SmartPersistenceUnitInfo - Interface in org.springframework.orm.jpa.persistenceunit
Extension of the standard JPA PersistenceUnitInfo interface, for advanced collaboration between Spring's LocalContainerEntityManagerFactoryBean and PersistenceUnitManager implementations.
SpringBeanContainer - Class in org.springframework.orm.jpa.hibernate
Spring's implementation of Hibernate's BeanContainer SPI, delegating to a Spring ConfigurableListableBeanFactory.
SpringBeanContainer(ConfigurableListableBeanFactory) - Constructor for class org.springframework.orm.jpa.hibernate.SpringBeanContainer
Instantiate a new SpringBeanContainer for the given bean factory.
SpringPersistenceUnitInfo - Class in org.springframework.orm.jpa.persistenceunit
Subclass of MutablePersistenceUnitInfo that adds instrumentation hooks based on Spring's LoadTimeWeaver abstraction.
SpringPersistenceUnitInfo(ClassLoader) - Constructor for class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
Construct a new SpringPersistenceUnitInfo for custom purposes.
SpringPersistenceUnitInfo(LoadTimeWeaver) - Constructor for class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo
Construct a new SpringPersistenceUnitInfo for custom purposes.
SpringPersistenceUnitInfoRuntimeHints - Class in org.springframework.orm.jpa.persistenceunit
RuntimeHintsRegistrar implementation that registers runtime hints for the SpringPersistenceUnitInfo.
SpringPersistenceUnitInfoRuntimeHints() - Constructor for class org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfoRuntimeHints
 
SpringSessionContext - Class in org.springframework.orm.jpa.hibernate
Implementation of Hibernate's CurrentSessionContext interface that provides a Spring-managed current Session.
SpringSessionContext(SessionFactoryImplementor) - Constructor for class org.springframework.orm.jpa.hibernate.SpringSessionContext
Create a new SpringSessionContext for the given Hibernate SessionFactory.
SQL_SERVER - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 
stop() - Method in class org.springframework.orm.jpa.hibernate.SpringBeanContainer
 
supportsType(Class) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
supportsType(Class) - Method in class org.springframework.orm.jpa.hibernate.LocalSessionFactoryBean
 
SYBASE - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
 

T

toString() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
 
translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
Implementation of the PersistenceExceptionTranslator interface, as autodetected by Spring's PersistenceExceptionTranslationPostProcessor.
translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.orm.jpa.DefaultJpaDialect
This implementation delegates to EntityManagerFactoryUtils.
translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.orm.jpa.hibernate.HibernateExceptionTranslator
 
translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
 

V

valueOf(String) - Static method in enum class org.springframework.orm.jpa.vendor.Database
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.orm.jpa.vendor.Database
Returns an array containing the constants of this enum class, in the order they are declared.

W

writeReplace() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
 
A B C D E F G H I J L M O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form