public class JtaLobCreatorSynchronization extends Object implements Synchronization
LobCreator.close()
to clean up temporary LOBs
that might have been created.LobCreator.close()
,
Transaction.registerSynchronization(javax.transaction.Synchronization)
Constructor and Description |
---|
JtaLobCreatorSynchronization(LobCreator lobCreator)
Create a JtaLobCreatorSynchronization for the given LobCreator.
|
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
public JtaLobCreatorSynchronization(LobCreator lobCreator)
lobCreator
- the LobCreator to close after transaction completionpublic void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization