Example usage for Java javax.transaction UserTransaction 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. |
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. |