public final class Transaction extends Object
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits the current transaction
|
boolean |
delistResource(XAResource xaRes,
int flag)
Important: do not invoke this method.
|
boolean |
enlistResource(XAResource xaRes)
Important: do not invoke this method.
|
void |
rollback()
Rollbacks the current transaction.
|
public final boolean enlistResource(XAResource xaRes) throws SystemException, RollbackException
xaRes
- -SystemException
- -RollbackException
- -public final boolean delistResource(XAResource xaRes, int flag) throws SystemException
xaRes
- -flag
- -SystemException
- -public final void rollback() throws SystemException
SystemException
- If there is an error while rolling back the transaction.public final void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SystemException
SystemException
- If there is an error while committing the transaction.HeuristicRollbackException
- If there is an error while committing the transaction.HeuristicMixedException
- If there is an error while committing the transaction.RollbackException
- If there is an error while committing the transaction.Copyright © 2024 Denodo Technologies. All rights reserved.