public class ConfluenceHibernateTransactionManager
extends org.springframework.orm.hibernate.HibernateTransactionManager
In addition to the outmost transaction, information about all inner transactions is also kept.
Constructor and Description |
---|
ConfluenceHibernateTransactionManager() |
ConfluenceHibernateTransactionManager(net.sf.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doBegin(Object transaction,
org.springframework.transaction.TransactionDefinition txDef) |
protected void |
doCleanupAfterCompletion(Object transaction) |
protected void |
doCommit(org.springframework.transaction.support.DefaultTransactionStatus status) |
protected void |
doRollback(org.springframework.transaction.support.DefaultTransactionStatus status) |
afterPropertiesSet, convertHibernateAccessException, convertJdbcAccessException, doGetTransaction, doResume, doSetRollbackOnly, doSuspend, getDataSource, getEntityInterceptor, getJdbcExceptionTranslator, getResourceFactory, getSessionFactory, isExistingTransaction, setAutodetectDataSource, setBeanFactory, setDataSource, setEntityInterceptor, setEntityInterceptorBeanName, setJdbcExceptionTranslator, 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
public ConfluenceHibernateTransactionManager()
public ConfluenceHibernateTransactionManager(net.sf.hibernate.SessionFactory sessionFactory)
protected void doBegin(Object transaction, org.springframework.transaction.TransactionDefinition txDef)
doBegin
in class org.springframework.orm.hibernate.HibernateTransactionManager
protected void doCleanupAfterCompletion(Object transaction)
doCleanupAfterCompletion
in class org.springframework.orm.hibernate.HibernateTransactionManager
protected void doCommit(org.springframework.transaction.support.DefaultTransactionStatus status)
doCommit
in class org.springframework.orm.hibernate.HibernateTransactionManager
protected void doRollback(org.springframework.transaction.support.DefaultTransactionStatus status)
doRollback
in class org.springframework.orm.hibernate.HibernateTransactionManager
Copyright © 2003–2021 Atlassian. All rights reserved.