Example usage for Java javax.transaction TransactionManager fields, constructors, methods, implement or subclass
The text is from its open source code.
void | begin() Create a new transaction and associate it with the current thread. |
void | commit() Complete the transaction associated with the current thread. |
Class> | getClass() Returns the runtime class of this Object . |
int | getStatus() Obtain the status of the transaction associated with the current thread. |
Transaction | getTransaction() Get the transaction object that represents the transaction context of the calling thread. |
int | hashCode() Returns a hash code value for the object. |
void | resume(Transaction tobj) Resume the transaction context association of the calling thread with the transaction represented by the supplied Transaction object. |
void | rollback() Roll back the transaction associated with the current thread. |
void | setRollbackOnly() Modify the transaction associated with the current thread such that the only possible outcome of the transaction is to roll back the transaction. |
void | setTransactionTimeout(int seconds) Modify the timeout value that is associated with transactions started by the current thread with the begin method. |
Transaction | suspend() Suspend the transaction currently associated with the calling thread and return a Transaction object that represents the transaction context being suspended. |