Index
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 JPAEntityManagerFactory
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
- addAnnotatedClasses(Class<?>...) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Add the given annotated classes in a batch.
- 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.hibernate5.LocalSessionFactoryBuilder
-
Add the given annotated packages in a batch.
- addProperty(String, String) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
- addTransformer(ClassTransformer) - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
-
This implementation throws an UnsupportedOperationException.
- afterCommit() - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
- afterCompletion(int) - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
- afterCompletion(WebRequest, Exception) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
Unbind the Hibernate
Session
from the thread and close it. - afterCompletion(WebRequest, Exception) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
- afterConcurrentHandlingStarted(WebRequest) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
- afterConcurrentHandlingStarted(WebRequest) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
- afterPropertiesSet() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- afterPropertiesSet() - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- afterPropertiesSet() - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
- afterPropertiesSet() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
- afterPropertiesSet() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
- 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
- applyNamedParameterToQuery(Query<?>, String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Apply the given name parameter to the given Query object.
- 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.
B
- beforeCommit(boolean) - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
- beforeCompletion() - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
- 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
- buildOrObtainSession() - Method in class org.springframework.orm.hibernate5.SpringJtaSessionContext
- buildSessionFactory(AsyncTaskExecutor) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Build the Hibernate
SessionFactory
through background bootstrapping, using the given executor for a parallel initialization phase (e.g. - buildSessionFactory(LocalSessionFactoryBuilder) - Method in class org.springframework.orm.hibernate5.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.
- bulkUpdate(String, Object...) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.
- bulkUpdate(String, Object...) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
C
- checkDaoConfig() - Method in class org.springframework.orm.hibernate5.support.HibernateDaoSupport
- checkWriteOperationAllowed(Session) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Check whether write operations are allowed on the given Session.
- 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 interface org.springframework.orm.hibernate5.HibernateOperations
-
Remove all objects from the
Session
cache, and cancel all pending saves, updates and deletes. - clear() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- clear() - Method in class org.springframework.orm.hibernate5.SessionHolder
- clear() - Method in class org.springframework.orm.jpa.EntityManagerHolder
- 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.
- closeIterator(Iterator<?>) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - closeIterator(Iterator<?>) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- closeSession(Session) - Static method in class org.springframework.orm.hibernate5.SessionFactoryUtils
-
Perform actual closing of the Hibernate Session, catching and logging any cleanup exceptions thrown.
- contains(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Check whether the given object is in the Session cache.
- contains(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- convertHibernateAccessException(HibernateException) - Method in class org.springframework.orm.hibernate5.HibernateExceptionTranslator
-
Convert the given HibernateException to an appropriate exception from the
org.springframework.dao
hierarchy. - convertHibernateAccessException(HibernateException) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
-
Convert the given HibernateException to an appropriate exception from the
org.springframework.dao
hierarchy. - convertHibernateAccessException(HibernateException) - Static method in class org.springframework.orm.hibernate5.SessionFactoryUtils
-
Convert the given HibernateException to an appropriate exception from the
org.springframework.dao
hierarchy. - convertHibernateAccessException(HibernateException) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
-
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.
- createHibernateTemplate(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
Create a HibernateTemplate for the given SessionFactory.
- 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.
- createSessionProxy(Session) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Create a close-suppressing proxy for the given Hibernate Session.
- 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.
- currentSession() - Method in class org.springframework.orm.hibernate5.SpringSessionContext
-
Retrieve the Spring-managed Session for the current thread, if any.
- currentSession() - Method in class org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
Conveniently obtain the current Hibernate Session.
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". - DEFAULT_SESSION_FACTORY_BEAN_NAME - Static variable in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
The default bean name used for the session factory.
- 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
- delete(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Delete the given persistent instance.
- delete(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- delete(Object, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Delete the given persistent instance.
- delete(Object, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- delete(String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Delete the given persistent instance.
- delete(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- delete(String, Object, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Delete the given persistent instance.
- delete(String, Object, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- deleteAll(Collection<?>) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Delete all given persistent instances.
- deleteAll(Collection<?>) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- DERBY - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
- destroy() - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
- destroy() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
-
Close the EntityManagerFactory on bean factory shutdown.
- determineDatabaseDialectClass(Database) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
-
Determine the Hibernate database dialect class 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.
- disableFilters(Session) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Disable the specified filters on the given Session.
- disconnectOnCompletion(Session) - Method in class org.springframework.orm.hibernate5.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.hibernate5.HibernateTransactionManager
- doBegin(Object, TransactionDefinition) - Method in class org.springframework.orm.jpa.JpaTransactionManager
- doCleanupAfterCompletion(Object) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- doCleanupAfterCompletion(Object) - Method in class org.springframework.orm.jpa.JpaTransactionManager
- doCommit(DefaultTransactionStatus) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- doCommit(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.JpaTransactionManager
- doExecute(HibernateCallback<T>, boolean) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Execute the action specified by the given action object within a Session.
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
- doGetTransaction() - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- doGetTransaction() - Method in class org.springframework.orm.jpa.JpaTransactionManager
- doGetTransactionalEntityManager(EntityManagerFactory, Map<?, ?>) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
-
Obtain a JPA EntityManager from the given factory.
- doGetTransactionalEntityManager(EntityManagerFactory, Map<?, ?>, boolean) - Static method in class org.springframework.orm.jpa.EntityManagerFactoryUtils
-
Obtain a JPA EntityManager from the given factory.
- doInHibernate(Session) - Method in interface org.springframework.orm.hibernate5.HibernateCallback
-
Gets called by
HibernateTemplate.execute
with an active HibernateSession
. - doResume(Object, Object) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- doResume(Object, Object) - Method in class org.springframework.orm.jpa.JpaTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.JpaTransactionManager
- doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.orm.jpa.JpaTransactionManager
- doSuspend(Object) - Method in class org.springframework.orm.hibernate5.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
- enableFilter(String) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return an enabled Hibernate
Filter
for the given filter name. - enableFilter(String) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- enableFilters(Session) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Enable the specified filters on the given Session.
- ENTITY_MANAGER_SYNCHRONIZATION_ORDER - Static variable in class org.springframework.orm.jpa.EntityManagerFactoryUtils
-
Order value for TransactionSynchronization objects that clean up JPA EntityManagers.
- 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 JPAEntityManager
. - 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. - equals(Object) - Method in class org.springframework.orm.hibernate5.SpringFlushSynchronization
- evict(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Remove the given object from the
Session
cache. - evict(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- excludeUnlistedClasses() - Method in class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
- execute(HibernateCallback<T>) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Execute the action specified by the given action object within a
Session
. - execute(HibernateCallback<T>) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- executeWithNativeSession(HibernateCallback<T>) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Execute the action specified by the given action object within a native
Session
. - 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
- find(String, Object...) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - find(String, Object...) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- findByCriteria(DetachedCriteria) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Execute a query based on a given Hibernate criteria object.
- findByCriteria(DetachedCriteria) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- findByCriteria(DetachedCriteria, int, int) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Execute a query based on the given Hibernate criteria object.
- findByCriteria(DetachedCriteria, int, int) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- findByExample(String, T) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Execute a query based on the given example entity object.
- findByExample(String, T) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- findByExample(String, T, int, int) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Execute a query based on a given example entity object.
- findByExample(String, T, int, int) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- findByExample(T) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Execute a query based on the given example entity object.
- findByExample(T) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- findByExample(T, int, int) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Execute a query based on a given example entity object.
- findByExample(T, int, int) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- findByNamedParam(String, String[], Object[]) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - findByNamedParam(String, String[], Object[]) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- findByNamedParam(String, String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - findByNamedParam(String, String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- findByNamedQuery(String, Object...) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - findByNamedQuery(String, Object...) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- findByNamedQueryAndNamedParam(String, String[], Object[]) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - findByNamedQueryAndNamedParam(String, String[], Object[]) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- findByNamedQueryAndNamedParam(String, String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - findByNamedQueryAndNamedParam(String, String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- findByNamedQueryAndValueBean(String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - findByNamedQueryAndValueBean(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- findByValueBean(String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - findByValueBean(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
- 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.
- flush() - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Flush all pending saves, updates and deletes to the database.
- flush() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- flush() - Method in class org.springframework.orm.hibernate5.SpringFlushSynchronization
- flush() - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
G
- 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) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- 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(Class<T>, Serializable, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- 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) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- 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(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() - 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
- getDataSource(SessionFactory) - Static method in class org.springframework.orm.hibernate5.SessionFactoryUtils
-
Determine the DataSource of the given SessionFactory.
- 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.
- getIdentifier(HibernateException) - Method in class org.springframework.orm.jpa.vendor.HibernateJpaDialect
- 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
- 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
-
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.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
- 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
- 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
- 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 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
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
- hashCode() - Method in class org.springframework.orm.hibernate5.SpringFlushSynchronization
- HibernateCallback<T> - Interface in org.springframework.orm.hibernate5
-
Callback interface for Hibernate code.
- HibernateDaoSupport - Class in org.springframework.orm.hibernate5.support
-
Convenient superclass for Hibernate-based data access objects.
- HibernateDaoSupport() - Constructor for class org.springframework.orm.hibernate5.support.HibernateDaoSupport
- HibernateExceptionTranslator - Class in org.springframework.orm.hibernate5
-
PersistenceExceptionTranslator
capable of translatingHibernateException
instances to Spring'sDataAccessException
hierarchy. - HibernateExceptionTranslator() - Constructor for class org.springframework.orm.hibernate5.HibernateExceptionTranslator
- HibernateJdbcException - Exception in org.springframework.orm.hibernate5
-
Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.
- HibernateJdbcException(JDBCException) - Constructor for exception org.springframework.orm.hibernate5.HibernateJdbcException
- 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
- HibernateObjectRetrievalFailureException - Exception in org.springframework.orm.hibernate5
-
Hibernate-specific subclass of ObjectRetrievalFailureException.
- HibernateObjectRetrievalFailureException(UnresolvableObjectException) - Constructor for exception org.springframework.orm.hibernate5.HibernateObjectRetrievalFailureException
- HibernateObjectRetrievalFailureException(WrongClassException) - Constructor for exception org.springframework.orm.hibernate5.HibernateObjectRetrievalFailureException
- HibernateOperations - Interface in org.springframework.orm.hibernate5
-
Interface that specifies a common set of Hibernate operations as well as a general
HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method for Session-based lambda expressions. - HibernateOptimisticLockingFailureException - Exception in org.springframework.orm.hibernate5
-
Hibernate-specific subclass of ObjectOptimisticLockingFailureException.
- HibernateOptimisticLockingFailureException(OptimisticEntityLockException) - Constructor for exception org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException
- HibernateOptimisticLockingFailureException(StaleObjectStateException) - Constructor for exception org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException
- HibernateOptimisticLockingFailureException(StaleStateException) - Constructor for exception org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException
- HibernateQueryException - Exception in org.springframework.orm.hibernate5
-
Hibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax.
- HibernateQueryException(QueryException) - Constructor for exception org.springframework.orm.hibernate5.HibernateQueryException
- HibernateSystemException - Exception in org.springframework.orm.hibernate5
-
Hibernate-specific subclass of UncategorizedDataAccessException, for Hibernate system errors that do not match any concrete
org.springframework.dao
exceptions. - HibernateSystemException(HibernateException) - Constructor for exception org.springframework.orm.hibernate5.HibernateSystemException
-
Create a new HibernateSystemException, wrapping an arbitrary HibernateException.
- HibernateTemplate - Class in org.springframework.orm.hibernate5
-
Helper class that simplifies Hibernate data access code.
- HibernateTemplate() - Constructor for class org.springframework.orm.hibernate5.HibernateTemplate
-
Create a new HibernateTemplate instance.
- HibernateTemplate(SessionFactory) - Constructor for class org.springframework.orm.hibernate5.HibernateTemplate
-
Create a new HibernateTemplate instance.
- HibernateTransactionManager - Class in org.springframework.orm.hibernate5
-
PlatformTransactionManager
implementation for a single HibernateSessionFactory
. - HibernateTransactionManager() - Constructor for class org.springframework.orm.hibernate5.HibernateTransactionManager
-
Create a new HibernateTransactionManager instance.
- HibernateTransactionManager(SessionFactory) - Constructor for class org.springframework.orm.hibernate5.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
- initialize(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Force initialization of a Hibernate proxy or persistent collection.
- initialize(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- invoke(MethodInvocation) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
- isCacheQueries() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return whether to cache all queries executed by this template.
- isCheckWriteOperations() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return whether to check that the Hibernate Session is not in read-only mode in case of write operations (save/update/delete).
- isExistingTransaction(Object) - Method in class org.springframework.orm.hibernate5.HibernateTransactionManager
- isExistingTransaction(Object) - Method in class org.springframework.orm.jpa.JpaTransactionManager
- isExposeNativeSession() - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Return whether to expose the native Hibernate Session to HibernateCallback code, or rather a Session proxy.
- 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.hibernate5.LocalSessionFactoryBean
- isSingleton() - Method in class org.springframework.orm.jpa.AbstractEntityManagerFactoryBean
- isSingleton() - Method in class org.springframework.orm.jpa.support.SharedEntityManagerBean
- isTransactionActive() - Method in class org.springframework.orm.jpa.EntityManagerHolder
- iterate(String, Object...) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Deprecated.as of 5.0.4, in favor of a custom
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method - iterate(String, Object...) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Deprecated.
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 in org.springframework.orm.jpa
-
JPA-specific subclass of ObjectRetrievalFailureException.
- JpaObjectRetrievalFailureException(EntityNotFoundException) - Constructor for exception org.springframework.orm.jpa.JpaObjectRetrievalFailureException
- JpaOptimisticLockingFailureException - Exception in org.springframework.orm.jpa
-
JPA-specific subclass of ObjectOptimisticLockingFailureException.
- JpaOptimisticLockingFailureException(OptimisticLockException) - Constructor for exception org.springframework.orm.jpa.JpaOptimisticLockingFailureException
- JpaSystemException - Exception 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 org.springframework.orm.jpa.JpaSystemException
- JpaTransactionManager - Class in org.springframework.orm.jpa
-
PlatformTransactionManager
implementation for a single JPAEntityManagerFactory
. - 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
- load(Class<T>, Serializable) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found.
- load(Class<T>, Serializable) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- load(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, throwing an exception if not found.
- load(Class<T>, Serializable, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- load(Object, Serializable) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Load the persistent instance with the given identifier into the given object, throwing an exception if not found.
- load(Object, Serializable) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- load(String, Serializable) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found.
- load(String, Serializable) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- load(String, Serializable, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return the persistent instance of the given entity class with the given identifier, throwing an exception if not found.
- load(String, Serializable, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- loadAll(Class<T>) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Return all persistent instances of the given entity class.
- loadAll(Class<T>) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- LocalContainerEntityManagerFactoryBean - Class in org.springframework.orm.jpa
-
FactoryBean
that creates a JPAEntityManagerFactory
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 JPAEntityManagerFactory
according to JPA's standard standalone bootstrap contract. - LocalEntityManagerFactoryBean() - Constructor for class org.springframework.orm.jpa.LocalEntityManagerFactoryBean
- LocalSessionFactoryBean - Class in org.springframework.orm.hibernate5
-
FactoryBean
that creates a HibernateSessionFactory
. - LocalSessionFactoryBean() - Constructor for class org.springframework.orm.hibernate5.LocalSessionFactoryBean
- LocalSessionFactoryBuilder - Class in org.springframework.orm.hibernate5
-
A Spring-provided extension of the standard Hibernate
Configuration
class, addingSpringSessionContext
as a default and providing convenient ways to specify a JDBCDataSource
and an application class loader. - LocalSessionFactoryBuilder(DataSource) - Constructor for class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Create a new LocalSessionFactoryBuilder for the given DataSource.
- LocalSessionFactoryBuilder(DataSource, ClassLoader) - Constructor for class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Create a new LocalSessionFactoryBuilder for the given DataSource.
- LocalSessionFactoryBuilder(DataSource, ResourceLoader) - Constructor for class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Create a new LocalSessionFactoryBuilder for the given DataSource.
- LocalSessionFactoryBuilder(DataSource, ResourceLoader, MetadataSources) - Constructor for class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Create a new LocalSessionFactoryBuilder for the given DataSource.
- lock(Object, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Obtain the specified lock level upon the given object, implicitly checking whether the corresponding database entry still exists.
- lock(Object, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- lock(String, Object, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Obtain the specified lock level upon the given object, implicitly checking whether the corresponding database entry still exists.
- lock(String, Object, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- logger - Variable in class org.springframework.orm.hibernate5.HibernateTemplate
- logger - Variable in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
- 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<T>) - 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.
- lookupSessionFactory() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
Look up the SessionFactory that this filter should use.
- lookupSessionFactory(HttpServletRequest) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
Look up the SessionFactory that this filter should use, taking the current HTTP request as argument.
M
- merge(String, T) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Copy the state of the given object onto the persistent object with the same identifier.
- merge(String, T) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- merge(T) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Copy the state of the given object onto the persistent object with the same identifier.
- merge(T) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- MutablePersistenceUnitInfo - Class in org.springframework.orm.jpa.persistenceunit
-
Spring's base implementation of the JPA
PersistenceUnitInfo
interface, used to bootstrap anEntityManagerFactory
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 in org.springframework.orm
-
Exception thrown on an optimistic locking violation for a mapped 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, String, Throwable) - Constructor for exception org.springframework.orm.ObjectOptimisticLockingFailureException
-
Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit 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(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, 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, 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, Throwable) - Constructor for exception org.springframework.orm.ObjectOptimisticLockingFailureException
-
Create a general ObjectOptimisticLockingFailureException with the given message, without any information on the affected object.
- ObjectRetrievalFailureException - Exception in org.springframework.orm
-
Exception thrown if a mapped object could not be retrieved via its identifier.
- 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.
- 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.
- 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.
- of(String...) - Static method in interface org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypes
-
Create an instance using the specified managed class names.
- of(List<String>, List<String>) - 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
- openSession() - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
Open a Session for the SessionFactory that this interceptor uses.
- openSession(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInterceptor
-
Open a Session for the given SessionFactory.
- openSession(SessionFactory) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewFilter
-
Open a Session for the SessionFactory that this filter uses.
- OpenSessionInterceptor - Class in org.springframework.orm.hibernate5.support
-
Simple AOP Alliance
MethodInterceptor
implementation that binds a new HibernateSession
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
- 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.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.
P
- PARTICIPATE_SUFFIX - Static variable in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
-
Suffix that gets appended to the
SessionFactory
toString()
representation for the "participate in existing session handling" request attribute. - 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.
- persist(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Persist the given transient instance.
- persist(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- persist(String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Persist the given transient instance.
- persist(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- PersistenceAnnotationBeanPostProcessor - Class in org.springframework.orm.jpa.support
-
BeanPostProcessor that processes
PersistenceUnit
andPersistenceContext
annotations, for injection of the corresponding JPA resourcesEntityManagerFactory
andEntityManager
. - 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
-
Scanner of
PersistenceManagedTypes
. - PersistenceManagedTypesScanner(ResourceLoader) - Constructor for class org.springframework.orm.jpa.persistenceunit.PersistenceManagedTypesScanner
- 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 JPA PersistenceUnitInfo.
- POSTGRESQL - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
- postHandle(WebRequest, ModelMap) - Method in class org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor
- 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 PersistenceUnitInfo.
- postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo) - Method in interface org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
-
Post-process the given PersistenceUnitInfo, 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.hibernate5.support.OpenSessionInViewInterceptor
-
Open a new Hibernate
Session
according and bind it to the thread via theTransactionSynchronizationManager
. - preHandle(WebRequest) - Method in class org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor
- prepareCriteria(Criteria) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Prepare the given Criteria object, applying cache settings and/or a transaction timeout.
- 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. - prepareQuery(Query<?>) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
-
Prepare the given Query object, applying cache settings and/or a transaction timeout.
- 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
- refresh(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Re-read the state of the given persistent instance.
- refresh(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- refresh(Object, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Re-read the state of the given persistent instance.
- refresh(Object, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- 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
. - replicate(Object, ReplicationMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Persist the state of the given detached instance according to the given replication mode, reusing the current identifier value.
- replicate(Object, ReplicationMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- replicate(String, Object, ReplicationMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Persist the state of the given detached instance according to the given replication mode, reusing the current identifier value.
- replicate(String, Object, ReplicationMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- requiresDestruction(Object) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
- resetBeanDefinition(String) - Method in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
- resume() - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
S
- save(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 interface org.springframework.orm.hibernate5.HibernateOperations
-
Persist the given transient instance.
- 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(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- 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(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- 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.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
-
Resource holder wrapping a Hibernate
Session
(plus an optionalTransaction
). - 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 SpringConfigurableListableBeanFactory
. - 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 HibernateBeanContainer
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
-
Set the Hibernate
RegionFactory
to use for the SessionFactory. - setCacheRegionFactory(RegionFactory) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Set the Hibernate
RegionFactory
to use for the SessionFactory. - 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
-
Set a
CurrentTenantIdentifierResolver
to be passed on to the SessionFactory. - setCurrentTenantIdentifierResolver(CurrentTenantIdentifierResolver) - Method in class org.springframework.orm.hibernate5.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.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 exposedEntityManagerFactory
. - 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 thisJpaTransactionManager
. - 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
-
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 ofSessionFactory.openSession()
(with a SpringTransactionSynchronizationManager
check preceding it). - 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
-
Set a Hibernate 5
ImplicitNamingStrategy
for the SessionFactory. - 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, ?>) - 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<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). - 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 JTATransactionManager
to be used with Hibernate, if any. - setJtaTransactionManager(Object) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBuilder
-
Set the Spring
JtaTransactionManager
or the JTATransactionManager
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.
- 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 as an alternative to entity scanning. - 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 inpersistence.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 inpersistence.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
-
Specify a Hibernate
MetadataSources
service to use (e.g. - setMultiTenantConnectionProvider(MultiTenantConnectionProvider) - Method in class org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
Set a
MultiTenantConnectionProvider
to be passed on to the SessionFactory. - setMultiTenantConnectionProvider(MultiTenantConnectionProvider) - Method in class org.springframework.orm.hibernate5.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.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
-
Set a Hibernate 5
PhysicalNamingStrategy
for the SessionFactory. - 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 Jakarta 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 thisHibernateTransactionManager
. - 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 JPAEntityManager
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 givenEntityManagerFactory
. - 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
-
Extension of the standard JPA PersistenceUnitInfo interface, for advanced collaboration between Spring's
LocalContainerEntityManagerFactoryBean
andPersistenceUnitManager
implementations. - SpringBeanContainer - Class in org.springframework.orm.hibernate5
-
Spring's implementation of Hibernate's
BeanContainer
SPI, delegating to a SpringConfigurableListableBeanFactory
. - 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
-
Implementation of Hibernate 3.1's
CurrentSessionContext
interface that delegates to Spring'sSessionFactoryUtils
for providing a Spring-managed currentSession
. - 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
- SQL_SERVER - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
- stop() - Method in class org.springframework.orm.hibernate5.SpringBeanContainer
- suspend() - Method in class org.springframework.orm.hibernate5.SpringSessionSynchronization
- 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.hibernate5.HibernateExceptionTranslator
- 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.vendor.HibernateJpaDialect
U
- update(Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Update the given persistent instance, associating it with the current Hibernate
Session
. - update(Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- update(Object, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Update the given persistent instance, associating it with the current Hibernate
Session
. - update(Object, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- update(String, Object) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Update the given persistent instance, associating it with the current Hibernate
Session
. - update(String, Object) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- update(String, Object, LockMode) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Update the given persistent instance, associating it with the current Hibernate
Session
. - update(String, Object, LockMode) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
HibernateCallback
lambda code block passed to the generalHibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)
method