public interface EntityTransaction
Modifier and Type | Method and Description |
---|---|
void |
begin()
Starts a resource transaction.
|
void |
commit()
Commits a resource transaction.
|
boolean |
getRollbackOnly()
Returns true if the transaction is for rollback only.
|
boolean |
isActive()
Test if a transaction is in progress.
|
void |
rollback()
Rolls the current transaction back.
|
void |
setRollbackOnly()
Marks the current transaction for rollback only.
|
void begin()
void commit()
void rollback()
void setRollbackOnly()
boolean getRollbackOnly()
boolean isActive()