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, setSessionFactory
commit, 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, useSavepointForNestedTransaction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commit, getTransaction, rollback
public ContextSourceAndHibernateTransactionManager()
protected boolean isExistingTransaction(Object transaction)
isExistingTransaction
in class org.springframework.orm.hibernate5.HibernateTransactionManager
protected Object doGetTransaction()
doGetTransaction
in class org.springframework.orm.hibernate5.HibernateTransactionManager
protected void doBegin(Object transaction, TransactionDefinition definition)
doBegin
in class org.springframework.orm.hibernate5.HibernateTransactionManager
protected void doCleanupAfterCompletion(Object transaction)
protected void doCommit(DefaultTransactionStatus status)
doCommit
in class org.springframework.orm.hibernate5.HibernateTransactionManager
protected void doRollback(DefaultTransactionStatus status)
doRollback
in class org.springframework.orm.hibernate5.HibernateTransactionManager
public ContextSource getContextSource()
public void setContextSource(ContextSource contextSource)
public void setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
protected Object doSuspend(Object transaction)
doSuspend
in class org.springframework.orm.hibernate5.HibernateTransactionManager
protected void doResume(Object transaction, Object suspendedResources)
doResume
in class org.springframework.orm.hibernate5.HibernateTransactionManager
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class org.springframework.orm.hibernate5.HibernateTransactionManager