Method Summary |
|
public void | createBean() Creates the bean before each test, because there are test that discard
the bean. |
public void | deletesTable() Deletes the table to avoid errors in each test. |
public void | setup() Publishes the databases. |
public void | testBeginWithoutCommit() Tests if the container supports the bean does not close the transaction
in the same method that the transaction was opened. |
public void | testGetRollbackOnly() Tests if the container does not allow the bean to use the
getRollbackOnly. |
public void | testSetRollbackOnly() Tests if the container does not allow the bean to use the
setRollbackOnly. |
public void | testTransInSameMethod() Calls userTransaction.begin(), inserts the table and calls
userTransaction.commit(). |
public void | tierDown() Deletes the databases entries from the registry. |