Verifies if the container-managed transaction in the session bean is
following the JSR 220.The items covered in this test are: 12.6.2.2.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro
Method Summary
public void
testGetRollbackOnly() Calls the getRollbackOnly that must not throw any exception for this type
of transaction attribute.
Calls the getRollbackOnly that must not throw any exception for this type
of transaction attribute.
throws: Exception - if an error occurs during the tests.
Calls a setRollbackOnly and after inserts two tables. The container must
do a roll back before the method invocation completes. So, the tables
must not be created and a SQLException must be thrown when the test tries
to verify if the table exists.
throws: Exception - if an error occurs during the tests.
Verifies if the container uses the same transaction that the client. The
client rollback must to force a bean rollback, because the both use the
same transaction.
throws: Exception - if an error during the tests occurs.
Fields inherited from org.ow2.easybeans.tests.transaction.containermanaged.base.TestContainerTransactionBase