Methods Summary |
---|
public void | beginCommitEnd()
if (tm.getTransaction() != null) throw new TestException("THERE IS AN EXISTING TRANSACTION");
ut.begin();
ut.commit();
|
public javax.transaction.Transaction | beginNoEnd()
if (tm.getTransaction() != null) throw new TestException("THERE IS AN EXISTING TRANSACTION");
ut.begin();
return tm.getTransaction();
|
public void | beginRollbackEnd()
if (tm.getTransaction() != null) throw new TestException("THERE IS AN EXISTING TRANSACTION");
ut.begin();
ut.rollback();
|
public void | endCommit(javax.transaction.Transaction old)
if (old != tm.getTransaction()) throw new TestException("No matching TX");
ut.commit();
|
public void | endRollback(javax.transaction.Transaction old)
if (old != tm.getTransaction()) throw new TestException("No matching TX");
ut.rollback();
|