Method Summary |
|
protected void | assertNotCommitting() Throw an Exception if the underlying transaction is currently committing. |
protected void | assertNotInUse() Asserts that the transaction is not in use. |
public void | begin() Method to start the transaction. |
public void | commit() Method to commit the transaction. |
public boolean | getNontransactionalRead() |
public boolean | getNontransactionalWrite() |
public boolean | getOptimistic() |
public PersistenceManager | getPersistenceManager() |
public boolean | getRestoreValues() |
public boolean | getRetainValues() |
public boolean | getRollbackOnly() |
public Synchronization | getSynchronization() |
public boolean | isActive() |
public void | rollback() |
public void | setNontransactionalRead(boolean flag) |
public void | setNontransactionalWrite(boolean flag) |
public void | setOptimistic(boolean opt) |
public void | setOption(String option, int value) Convenience accessor for setting a transaction option. |
public void | setOption(String option, boolean value) Convenience accessor for setting a transaction option. |
public void | setOption(String option, String value) Convenience accessor for setting a transaction option. |
public void | setRestoreValues(boolean restore) |
public void | setRetainValues(boolean retain) |
public void | setRollbackOnly() |
public void | setSynchronization(Synchronization synch) |