Package com.atlassian.hibernate
Class BucketClobStringType.LobCreatorSynchronization
java.lang.Object
org.springframework.transaction.support.TransactionSynchronizationAdapter
com.atlassian.hibernate.BucketClobStringType.LobCreatorSynchronization
- All Implemented Interfaces:
Flushable,org.springframework.core.Ordered,org.springframework.transaction.support.TransactionSynchronization
- Enclosing class:
BucketClobStringType
protected static class BucketClobStringType.LobCreatorSynchronization
extends org.springframework.transaction.support.TransactionSynchronizationAdapter
Callback for resource cleanup at the end of a transaction.
Invokes LobCreator.close to clean up temporary LOBs that might have been created.
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionLobCreatorSynchronization(org.springframework.jdbc.support.lob.LobCreator lobCreator) -
Method Summary
Methods inherited from class org.springframework.transaction.support.TransactionSynchronizationAdapter
afterCommit, afterCompletion, beforeCommit, flush, getOrder, resume, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.support.TransactionSynchronization
savepoint, savepointRollback
-
Constructor Details
-
LobCreatorSynchronization
public LobCreatorSynchronization(org.springframework.jdbc.support.lob.LobCreator lobCreator)
-
-
Method Details
-
beforeCompletion
public void beforeCompletion()- Specified by:
beforeCompletionin interfaceorg.springframework.transaction.support.TransactionSynchronization- Overrides:
beforeCompletionin classorg.springframework.transaction.support.TransactionSynchronizationAdapter
-