public class GlueLazyDataSourceTransactionManager extends GlueDataSourceTransactionManager implements GlueLazyTransactionManager
Bean Property - dataSource : (Çʼö) - transactionDefinition : (¼±ÅÃ) ¿¹Á¦»ç¿ë ¿¹# 1
AbstractPlatformTransactionManager.SuspendedResourcesHolder
SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
Constructor and Description |
---|
GlueLazyDataSourceTransactionManager() |
Modifier and Type | Method and Description |
---|---|
TransactionStatus |
changeTransaction(TransactionStatus ts)
ThreadLocalÀÇ Transaction Status¸¦ ±³Ã¼ÇÑ´Ù
|
boolean |
commit()
Æ®·£Àè¼ÇÀ» Ä¿¹ÔÇÑ´Ù.
|
boolean |
lazyCommit() |
boolean |
lazyRollback() |
boolean |
rollback()
Æ®·£Àè¼ÇÀ» ·Ñ¹éÇÑ´Ù.
|
void |
startTransaction()
Æ®·£Àè¼ÇÀ» ½ÃÀÛÇÑ´Ù.
|
afterPropertiesSet, setTransactionDefinition
doBegin, doCleanupAfterCompletion, doCommit, doGetTransaction, doResume, doRollback, doSetRollbackOnly, doSuspend, getDataSource, getResourceFactory, isExistingTransaction, setDataSource
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 GlueLazyDataSourceTransactionManager()
public boolean lazyCommit() throws GlueException
lazyCommit
in interface GlueLazyTransactionManager
GlueException
public boolean lazyRollback() throws GlueException
lazyRollback
in interface GlueLazyTransactionManager
GlueException
public void startTransaction() throws GlueException
GlueTransactionManager
startTransaction
¸Þ¼Òµå¸¦ È£ÃâÇÏÁö ¾ÊÀ¸¸é Æ®·£Àè¼ÇÀÌ ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù.startTransaction
in interface GlueTransactionManager
startTransaction
in class GlueDataSourceTransactionManager
GlueException
- Æ®·£Àè¼Ç ½ÃÀÛ ½ÇÆÐ ½Ãpublic boolean commit() throws GlueException
GlueTransactionManager
startThreadLocalTransaction
¸Þ¼Òµå¸¦ È£ÃâÇØ ÁÖ¾î¾ß ÇÑ´Ù.commit
in interface GlueTransactionManager
commit
in class GlueDataSourceTransactionManager
GlueException
- Æ®·£Àè¼Ç Ä¿¹Ô ½ÇÆÐ ½Ãpublic boolean rollback() throws GlueException
GlueTransactionManager
startThreadLocalTransaction
¸Þ¼Òµå¸¦ È£ÃâÇØ ÁÖ¾î¾ß ÇÑ´Ù.rollback
in interface GlueTransactionManager
rollback
in class GlueDataSourceTransactionManager
GlueException
- Æ®·£Àè¼ÇÀ» ·Ñ¹é ½ÇÆÐ ½Ãpublic TransactionStatus changeTransaction(TransactionStatus ts) throws GlueException
GlueDataSourceTransactionManager
changeTransaction
in interface GlueTransactionManager
changeTransaction
in class GlueDataSourceTransactionManager
GlueException
Copyright © 2013–2016 POSCO ICT. All rights reserved.