- get(Class<T>, Serializable) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return the persistent instance of the given entity class
with the given identifier, or null
if not found.
- get(Class<T>, Serializable, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return the persistent instance of the given entity class
with the given identifier, or null
if not found.
- get(String, Serializable) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return the persistent instance of the given entity class
with the given identifier, or null
if not found.
- get(String, Serializable, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return the persistent instance of the given entity class
with the given identifier, or null
if not found.
- get(Class<T>, Serializable) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- get(Class<T>, Serializable, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- get(String, Serializable) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- get(String, Serializable, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- getBean(Class<B>, BeanContainer.LifecycleOptions, BeanInstanceProducer) - Method in class org.springframework.orm.hibernate5.SpringBeanContainer
-
- getBean(String, Class<B>, BeanContainer.LifecycleOptions, BeanInstanceProducer) - Method in class org.springframework.orm.hibernate5.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.
- 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.MutablePersistenceUnitInfo
-
This implementation returns the default ClassLoader.
- getConfiguration() - Method in class org.springframework.orm.hibernate5.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.hibernate5.HibernateTransactionManager
-
Return the JDBC DataSource that this instance manages transactions for.
- getDataSource(SessionFactory) - Static method in class org.springframework.orm.hibernate5.SessionFactoryUtils
-
Determine the DataSource of the given SessionFactory.
- 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.JpaTransactionManager
-
Return the JDBC DataSource that this instance manages transactions for.
- getDataSource() - Method in class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
-
- 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.hibernate5.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
-
- getFetchSize() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return the fetch size specified for this HibernateTemplate.
- getFilterNames() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return the names of Hibernate filters to be activated, if any.
- getHibernateProperties() - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Return the Hibernate properties, if any.
- getHibernateTemplate() - Method in class org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
Return the HibernateTemplate for this DAO,
pre-initialized with the SessionFactory or set explicitly.
- getIdentifier() - Method in exception org.springframework.orm.ObjectOptimisticLockingFailureException
-
Return the identifier of the object for which the locking failed.
- getIdentifier() - Method in exception 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(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() - 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(PersistenceUnitInfo) - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
-
- getJpaPropertyMap() - Method in class org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter
-
- getJpaPropertyMap() - Method in class org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter
-
- getJpaPropertyMap(PersistenceUnitInfo) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
-
- getJpaPropertyMap() - 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
-
- getManagedPackages() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
- 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
-
- getMaxResults() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return the maximum number of rows specified for this HibernateTemplate.
- getMetadataSources() - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- 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.MutablePersistenceUnitInfo
-
This implementation throws an UnsupportedOperationException.
- getNonJtaDataSource() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
- getObject() - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- getObject() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
-
Return the singleton EntityManagerFactory.
- getObject() - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
-
- getObject() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean
-
Deprecated.
- getObjectType() - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- getObjectType() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
-
- getObjectType() - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
-
- getObjectType() - Method in class org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean
-
Deprecated.
- getOrder() - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
-
- getOrder() - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
-
- getParticipateAttributeName() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
Return the name of the request attribute that identifies that a request is
already intercepted.
- 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.
- 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
(e.g.
- 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 PersistenceUnitInfo 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
-
- getPersistenceXMLSchemaVersion() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
- getPersistentClass() - Method in exception org.springframework.orm.ObjectOptimisticLockingFailureException
-
Return the persistent class of the object for which the locking failed.
- getPersistentClass() - Method in exception org.springframework.orm.ObjectRetrievalFailureException
-
Return the persistent class of the object that was not found.
- getPersistentClassName() - Method in exception org.springframework.orm.ObjectOptimisticLockingFailureException
-
Return the name of the persistent class of the object for which the locking failed.
- getPersistentClassName() - Method in exception org.springframework.orm.ObjectRetrievalFailureException
-
Return the name of the persistent class of the object that was not found.
- getPreviousFlushMode() - Method in class org.springframework.orm.hibernate5.SessionHolder
-
- getProperties() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
- getQueryCacheRegion() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return the name of the cache region for queries executed by this template.
- getQueryString() - Method in exception org.springframework.orm.hibernate5.HibernateQueryException
-
Return the HQL query string that was invalid.
- getResourceFactory() - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
- getResourceFactory() - Method in class org.springframework.orm.jpa.JpaTransactionManager
-
- getResourceLoader() - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Determine the Spring ResourceLoader
to use for Hibernate metadata.
- getSavepointManager() - Method in class org.springframework.orm.jpa.EntityManagerHolder
-
- getSession() - Method in class org.springframework.orm.hibernate5.SessionHolder
-
- getSession(EntityManager) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
-
- getSessionFactory() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return the Hibernate SessionFactory that should be used to create
Hibernate Sessions.
- getSessionFactory() - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
Return the SessionFactory that this instance should manage transactions for.
- getSessionFactory() - Method in class org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
Return the Hibernate SessionFactory used by this DAO.
- getSessionFactory() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
-
Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.
- getSessionFactory() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.
- getSessionFactoryBeanName() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
Return the bean name of the SessionFactory to fetch from Spring's
root application context.
- getSharedCacheMode() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
- getSql() - Method in exception org.springframework.orm.hibernate5.HibernateJdbcException
-
Return the SQL that led to the problem.
- getSQLException() - Method in exception org.springframework.orm.hibernate5.HibernateJdbcException
-
Return the underlying SQLException.
- getTargetEntityManager() - Method in interface org.springframework.orm.jpa.EntityManagerProxy
-
Return the underlying EntityManager that this proxy will delegate to.
- getTransaction() - Method in class org.springframework.orm.hibernate5.SessionHolder
-
- 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
-
- ObjectOptimisticLockingFailureException - Exception in org.springframework.orm
-
Exception thrown on an optimistic locking violation for a mapped object.
- ObjectOptimisticLockingFailureException(String, Throwable) - Constructor for exception org.springframework.orm.ObjectOptimisticLockingFailureException
-
Create a general ObjectOptimisticLockingFailureException with the given message,
without any information on the affected object.
- ObjectOptimisticLockingFailureException(Class<?>, Object) - Constructor for exception 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 org.springframework.orm.ObjectOptimisticLockingFailureException
-
Create a new ObjectOptimisticLockingFailureException for the given object,
with the default "optimistic locking failed" message.
- ObjectOptimisticLockingFailureException(Class<?>, Object, String, Throwable) - Constructor for exception org.springframework.orm.ObjectOptimisticLockingFailureException
-
Create a new ObjectOptimisticLockingFailureException for the given object,
with the given explicit message.
- ObjectOptimisticLockingFailureException(String, Object) - Constructor for exception 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 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 org.springframework.orm.ObjectOptimisticLockingFailureException
-
Create a new ObjectOptimisticLockingFailureException for the given object,
with the given explicit message.
- ObjectRetrievalFailureException - Exception in org.springframework.orm
-
Exception thrown if a mapped object could not be retrieved via its identifier.
- ObjectRetrievalFailureException(String, Throwable) - Constructor for exception org.springframework.orm.ObjectRetrievalFailureException
-
Create a general ObjectRetrievalFailureException with the given message,
without any information on the affected object.
- ObjectRetrievalFailureException(Class<?>, Object) - Constructor for exception org.springframework.orm.ObjectRetrievalFailureException
-
Create a new ObjectRetrievalFailureException for the given object,
with the default "not found" message.
- ObjectRetrievalFailureException(Class<?>, Object, String, Throwable) - Constructor for exception 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 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 org.springframework.orm.ObjectRetrievalFailureException
-
Create a new ObjectRetrievalFailureException for the given object,
with the given explicit message and exception.
- 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.hibernate5.HibernateTemplate
-
Obtain the SessionFactory for actual use.
- obtainSessionFactory() - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
Obtain the SessionFactory for actual use.
- 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
-
- openSession(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
-
Open a Session for the given SessionFactory.
- openSession() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
-
- openSession(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
Open a Session for the SessionFactory that this filter uses.
- openSession() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
Open a Session for the SessionFactory that this interceptor uses.
- OpenSessionInterceptor - Class in org.springframework.orm.hibernate5.support
-
Simple AOP Alliance
MethodInterceptor
implementation that binds a new
Hibernate
Session
for each method invocation, if none bound before.
- OpenSessionInterceptor() - Constructor for class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
-
- OpenSessionInViewFilter - Class in org.springframework.orm.hibernate5.support
-
Servlet Filter that binds a Hibernate Session to the thread for the entire
processing of the request.
- OpenSessionInViewFilter() - Constructor for class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
- OpenSessionInViewInterceptor - Class in org.springframework.orm.hibernate5.support
-
Spring web request interceptor that binds a Hibernate Session
to the
thread for the entire processing of the request.
- OpenSessionInViewInterceptor() - Constructor for class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
- org.springframework.orm - package org.springframework.orm
-
Root package for Spring's O/R Mapping integration classes.
- org.springframework.orm.hibernate5 - package org.springframework.orm.hibernate5
-
Package providing integration of
Hibernate 5.x
with Spring concepts.
- org.springframework.orm.hibernate5.support - package org.springframework.orm.hibernate5.support
-
Classes supporting the org.springframework.orm.hibernate5
package.
- org.springframework.orm.jpa - package org.springframework.orm.jpa
-
Package providing integration of JPA (Java Persistence API) with Spring concepts.
- 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.
- save(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Persist the given transient instance.
- save(String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Persist the given transient instance.
- save(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- save(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- saveOrUpdate(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Save or update the given persistent instance,
according to its id (matching the configured "unsaved-value"?).
- saveOrUpdate(String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Save or update the given persistent instance,
according to its id (matching the configured "unsaved-value"?).
- saveOrUpdate(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- saveOrUpdate(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
- scanPackages(String...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Perform Spring-based scanning for entity classes, registering them
as annotated classes with this Configuration
.
- SESSION_SYNCHRONIZATION_ORDER - Static variable in class org.springframework.orm.hibernate5.SessionFactoryUtils
-
Order value for TransactionSynchronization objects that clean up Hibernate Sessions.
- SessionFactoryUtils - Class in org.springframework.orm.hibernate5
-
Helper class featuring methods for Hibernate Session handling.
- SessionFactoryUtils() - Constructor for class org.springframework.orm.hibernate5.SessionFactoryUtils
-
- SessionHolder - Class in org.springframework.orm.hibernate5
-
- SessionHolder(Session) - Constructor for class org.springframework.orm.hibernate5.SessionHolder
-
- setAllowResultAccessAfterCompletion(boolean) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
Set whether to allow result access after completion, typically via Hibernate's
ScrollableResults mechanism.
- setAnnotatedClasses(Class<?>...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Specify annotated entity classes to register with this Hibernate SessionFactory.
- setAnnotatedPackages(String...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Specify the names of annotated packages, for which package-level
annotation metadata will be read.
- setAutodetectDataSource(boolean) - Method in class org.springframework.orm.hibernate5.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.hibernate5.LocalSessionFactoryBuilder
-
Set a Hibernate
BeanContainer
for the given Spring
ConfigurableListableBeanFactory
.
- setBeanFactory(BeanFactory) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
The bean factory just needs to be known for resolving entity interceptor
bean names.
- setBeanFactory(BeanFactory) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Accept the containing
BeanFactory
, registering corresponding Hibernate
BeanContainer
integration for
it if possible.
- 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.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.hibernate5.LocalSessionFactoryBean
-
Specify an asynchronous executor for background bootstrapping,
e.g.
- setBootstrapExecutor(AsyncTaskExecutor) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
-
Specify an asynchronous executor for background bootstrapping,
e.g.
- setCacheableMappingLocations(Resource...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Set locations of cacheable Hibernate mapping files, for example as web app
resource "/WEB-INF/mapping/example.hbm.xml".
- setCacheQueries(boolean) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set whether to cache all queries executed by this template.
- setCacheRegionFactory(RegionFactory) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- setCacheRegionFactory(RegionFactory) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
- setCheckWriteOperations(boolean) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set whether to check that the Hibernate Session is not in read-only mode
in case of write operations (save/update/delete).
- setConfigLocation(Resource) - Method in class org.springframework.orm.hibernate5.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.hibernate5.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.hibernate5.LocalSessionFactoryBean
-
- setCurrentTenantIdentifierResolver(CurrentTenantIdentifierResolver) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
- 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.hibernate5.HibernateTransactionManager
-
Set the JDBC DataSource that this instance should manage transactions for.
- setDataSource(DataSource) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Set the DataSource to be used by the SessionFactory.
- 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.
- 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<String, DataSource>) - 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.persistenceunit.DefaultPersistenceUnitManager
-
Specify the name of the default persistence unit, if any.
- 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.
- 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.hibernate5.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.hibernate5.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.hibernate5.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<? extends EntityManagerFactory>) - 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<EntityManager>) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
-
Specify a callback for customizing every EntityManager
created
by the exposed EntityManagerFactory
.
- setEntityManagerInitializer(Consumer<EntityManager>) - 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<? extends EntityManager>) - 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<? extends EntityManager>) - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
-
Specify the EntityManager interface to expose.
- setEntityTypeFilters(TypeFilter...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Specify custom type filters for Spring-based scanning for entity classes.
- setEntityTypeFilters(TypeFilter...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Specify custom type filters for Spring-based scanning for entity classes.
- setExcludeUnlistedClasses(boolean) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
- setExposeNativeSession(boolean) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set whether to expose the native Hibernate Session to
HibernateCallback code.
- setExtendedPersistenceContexts(Map<String, String>) - 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).
- setFetchSize(int) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set the fetch size for this HibernateTemplate.
- setFilterNames(String...) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set one or more names of Hibernate filters to be activated for all
Sessions that this accessor works with.
- 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.hibernate5.LocalSessionFactoryBean
-
Specify one or more Hibernate
Integrator
implementations to apply.
- setHibernateManagedSession(boolean) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
- setHibernateProperties(Properties) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Set Hibernate properties, such as "hibernate.dialect".
- setHibernateTemplate(HibernateTemplate) - Method in class org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
Set the HibernateTemplate for this DAO explicitly,
as an alternative to specifying a SessionFactory.
- setImplicitNamingStrategy(ImplicitNamingStrategy) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- setJdbcExceptionTranslator(SQLExceptionTranslator) - Method in class org.springframework.orm.hibernate5.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.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).
- setJpaProperties(Properties) - Method in class org.springframework.orm.jpa.JpaTransactionManager
-
Specify JPA properties, to be passed into
EntityManagerFactory.createEntityManager(Map)
(if any).
- setJpaPropertyMap(Map<String, ?>) - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
-
Specify JPA properties as a Map, to be passed into
Persistence.createEntityManagerFactory
(if any).
- setJpaPropertyMap(Map<String, Object>) - Method in class org.springframework.orm.jpa.EntityManagerFactoryAccessor
-
Specify JPA properties as a Map, to be passed into
EntityManagerFactory.createEntityManager(Map)
(if any).
- setJpaPropertyMap(Map<String, ?>) - Method in class org.springframework.orm.jpa.JpaTransactionManager
-
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.hibernate5.LocalSessionFactoryBean
-
Set the Spring
JtaTransactionManager
or the JTA
TransactionManager
to be used with Hibernate,
if any.
- setJtaTransactionManager(Object) - Method in class org.springframework.orm.hibernate5.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.LocalContainerEntityManagerFactoryBean
-
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.persistenceunit.DefaultPersistenceUnitManager
-
Specify the Spring LoadTimeWeaver to use for class instrumentation according
to the JPA class transformer contract.
- setMappingDirectoryLocations(Resource...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Set locations of directories that contain Hibernate mapping resources,
like "WEB-INF/mappings".
- setMappingJarLocations(Resource...) - Method in class org.springframework.orm.hibernate5.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.hibernate5.LocalSessionFactoryBean
-
Set locations of Hibernate mapping files, for example as classpath
resource "classpath:example.hbm.xml".
- setMappingResources(String...) - Method in class org.springframework.orm.hibernate5.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.
- setMaxResults(int) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set the maximum number of rows for this HibernateTemplate.
- setMetadataSources(MetadataSources) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- setMultiTenantConnectionProvider(MultiTenantConnectionProvider) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- setMultiTenantConnectionProvider(MultiTenantConnectionProvider) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
- 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.hibernate5.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.
- setPersistenceContexts(Map<String, String>) - 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<? extends PersistenceProvider>) - 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.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<String, String>) - 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.hibernate5.LocalSessionFactoryBean
-
- setPrepareConnection(boolean) - Method in class org.springframework.orm.hibernate5.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.
- setPreviousFlushMode(FlushMode) - Method in class org.springframework.orm.hibernate5.SessionHolder
-
- setProperties(Properties) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
- setQueryCacheRegion(String) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set the name of the cache region for queries executed by this template.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.orm.hibernate5.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 Java EE container, i.e.
- setSavepointManager(SavepointManager) - Method in class org.springframework.orm.jpa.EntityManagerHolder
-
- setSessionFactory(SessionFactory) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Set the Hibernate SessionFactory that should be used to create
Hibernate Sessions.
- setSessionFactory(SessionFactory) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
Set the SessionFactory that this instance should manage transactions for.
- setSessionFactory(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
Set the Hibernate SessionFactory to be used by this DAO.
- setSessionFactory(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
-
Set the Hibernate SessionFactory that should be used to create Hibernate Sessions.
- setSessionFactory(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
Set the Hibernate SessionFactory that should be used to create Hibernate Sessions.
- setSessionFactoryBeanName(String) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
Set the bean name of the SessionFactory to fetch from Spring's
root application context.
- setSessionInitializer(Consumer<Session>) - Method in class org.springframework.orm.hibernate5.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).
- setTransaction(Transaction) - Method in class org.springframework.orm.hibernate5.SessionHolder
-
- 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
-
- SharedEntityManagerCreator() - Constructor for class org.springframework.orm.jpa.SharedEntityManagerCreator
-
- 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.hibernate5.support.OpenSessionInViewFilter
-
Returns "false" so that the filter may re-bind the opened Hibernate
Session
to each asynchronously dispatched thread and postpone
closing it until the very last asynchronous dispatch.
- 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.hibernate5.support.OpenSessionInViewFilter
-
Returns "false" so that the filter may provide a Hibernate
Session
to each error dispatches.
- 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
-
- SpringBeanContainer - Class in org.springframework.orm.hibernate5
-
Spring's implementation of Hibernate 5.3's
BeanContainer
SPI,
delegating to a Spring
ConfigurableListableBeanFactory
.
- SpringBeanContainer(ConfigurableListableBeanFactory) - Constructor for class org.springframework.orm.hibernate5.SpringBeanContainer
-
Instantiate a new SpringBeanContainer for the given bean factory.
- SpringFlushSynchronization - Class in org.springframework.orm.hibernate5
-
Simple synchronization adapter that propagates a flush()
call
to the underlying Hibernate Session.
- SpringFlushSynchronization(Session) - Constructor for class org.springframework.orm.hibernate5.SpringFlushSynchronization
-
- SpringJtaSessionContext - Class in org.springframework.orm.hibernate5
-
Spring-specific subclass of Hibernate's JTASessionContext,
setting FlushMode.MANUAL
for read-only transactions.
- SpringJtaSessionContext(SessionFactoryImplementor) - Constructor for class org.springframework.orm.hibernate5.SpringJtaSessionContext
-
- SpringSessionContext - Class in org.springframework.orm.hibernate5
-
- SpringSessionContext(SessionFactoryImplementor) - Constructor for class org.springframework.orm.hibernate5.SpringSessionContext
-
Create a new SpringSessionContext for the given Hibernate SessionFactory.
- SpringSessionSynchronization - Class in org.springframework.orm.hibernate5
-
Callback for resource cleanup at the end of a Spring-managed transaction
for a pre-bound Hibernate Session.
- SpringSessionSynchronization(SessionHolder, SessionFactory) - Constructor for class org.springframework.orm.hibernate5.SpringSessionSynchronization
-
- SpringSessionSynchronization(SessionHolder, SessionFactory, boolean) - Constructor for class org.springframework.orm.hibernate5.SpringSessionSynchronization
-
- stop() - Method in class org.springframework.orm.hibernate5.SpringBeanContainer
-
- suspend() - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
-