public class ContextSourceAndHibernateTransactionManager extends org.springframework.orm.hibernate5.HibernateTransactionManager
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION| Constructor and Description |
|---|
ContextSourceAndHibernateTransactionManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected void |
doBegin(Object transaction,
TransactionDefinition definition)
Deprecated.
|
protected void |
doCleanupAfterCompletion(Object transaction)
Deprecated.
|
protected void |
doCommit(DefaultTransactionStatus status)
Deprecated.
|
protected Object |
doGetTransaction()
Deprecated.
|
protected void |
doResume(Object transaction,
Object suspendedResources)
Deprecated.
|
protected void |
doRollback(DefaultTransactionStatus status)
Deprecated.
|
protected Object |
doSuspend(Object transaction)
Deprecated.
|
ContextSource |
getContextSource()
Deprecated.
|
protected boolean |
isExistingTransaction(Object transaction)
Deprecated.
|
void |
setContextSource(ContextSource contextSource)
Deprecated.
|
void |
setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
Deprecated.
|
convertHibernateAccessException, disconnectOnCompletion, doSetRollbackOnly, getDataSource, getEntityInterceptor, getResourceFactory, getSessionFactory, isPhysicallyConnected, isSameConnectionForEntireSession, setAllowResultAccessAfterCompletion, setAutodetectDataSource, setBeanFactory, setDataSource, setEntityInterceptor, setEntityInterceptorBeanName, setHibernateManagedSession, setPrepareConnection, setSessionFactorycommit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, newTransactionStatus, prepareForCommit, prepareSynchronization, prepareTransactionStatus, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion, useSavepointForNestedTransactionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommit, getTransaction, rollbackpublic ContextSourceAndHibernateTransactionManager()
protected boolean isExistingTransaction(Object transaction)
isExistingTransaction in class org.springframework.orm.hibernate5.HibernateTransactionManagerprotected Object doGetTransaction()
doGetTransaction in class org.springframework.orm.hibernate5.HibernateTransactionManagerprotected void doBegin(Object transaction, TransactionDefinition definition)
doBegin in class org.springframework.orm.hibernate5.HibernateTransactionManagerprotected void doCleanupAfterCompletion(Object transaction)
protected void doCommit(DefaultTransactionStatus status)
doCommit in class org.springframework.orm.hibernate5.HibernateTransactionManagerprotected void doRollback(DefaultTransactionStatus status)
doRollback in class org.springframework.orm.hibernate5.HibernateTransactionManagerpublic ContextSource getContextSource()
public void setContextSource(ContextSource contextSource)
public void setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
protected Object doSuspend(Object transaction)
doSuspend in class org.springframework.orm.hibernate5.HibernateTransactionManagerprotected void doResume(Object transaction, Object suspendedResources)
doResume in class org.springframework.orm.hibernate5.HibernateTransactionManagerpublic void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class org.springframework.orm.hibernate5.HibernateTransactionManager