| Package | Description |
|---|---|
| javax.transaction |
| Modifier and Type | Method and Description |
|---|---|
void |
UserTransaction.begin()
Start the transaction.
|
void |
TransactionManager.begin()
Start the transaction.
|
void |
UserTransaction.commit()
Commits the transaction
|
void |
TransactionManager.commit()
Commits the transaction
|
void |
Transaction.commit()
Commits the transaction.
|
boolean |
Transaction.delistResource(XAResource xaRes,
int flag)
Delists a resource from the transaction.
|
boolean |
Transaction.enlistResource(XAResource xaRes)
Enlists a resource with the transaction.
|
int |
UserTransaction.getStatus()
Gets the transaction's status
|
int |
TransactionManager.getStatus()
Gets the transaction's status
|
int |
Transaction.getStatus()
Returns the transaction's status.
|
Transaction |
TransactionManager.getTransaction()
Returns the current transaction.
|
void |
Transaction.registerSynchronization(Synchronization sync)
Registers a synchronization.
|
void |
TransactionManager.resume(Transaction transaction)
Resume a transaction.
|
void |
UserTransaction.rollback()
Rolls the transaction back
|
void |
TransactionManager.rollback()
Rolls the transaction back
|
void |
Transaction.rollback()
Rolls the transaction back.
|
void |
UserTransaction.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
TransactionManager.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
Transaction.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
UserTransaction.setTransactionTimeout(int seconds)
Sets the transaction's timeout.
|
void |
TransactionManager.setTransactionTimeout(int seconds)
Sets the transaction's timeout.
|
Transaction |
TransactionManager.suspend()
Suspends the transaction.
|