Example usage for Java javax.persistence EntityTransaction fields, constructors, methods, implement or subclass
The text is from its open source code.
void | begin() Start a resource transaction. |
void | commit() Commit the current resource transaction, writing any unflushed changes to the database. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
boolean | getRollbackOnly() Determine whether the current resource transaction has been marked for rollback. |
boolean | isActive() Indicate whether a resource transaction is in progress. |
void | rollback() Roll back the current resource transaction. |
void | setRollbackOnly() Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. |