public final class Transaction extends Object
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits the current transaction
|
boolean |
delistResource(XAResource xaRes,
int flag) |
boolean |
enlistResource(XAResource xaRes) |
void |
rollback()
Rollbacks the current transaction.
|
public final boolean enlistResource(XAResource xaRes) throws SystemException, RollbackException
SystemException
RollbackException
public final boolean delistResource(XAResource xaRes, int flag) throws IllegalStateException, SystemException
IllegalStateException
SystemException
public final void rollback() throws SecurityException, IllegalStateException, SystemException
public final void commit() throws SecurityException, IllegalStateException, RollbackException, HeuristicMixedException, HeuristicRollbackException, SystemException
Copyright © 2019 Denodo Technologies. All rights reserved.