Method Summary |
|
public void | createBeanApp() Creates a bean that throws always an application exception that extends
Exception and has the rollback element as false. |
public void | createBeanApp01() Creates a bean that throws always an application exception that extends
RuntimeException and has the rollback element as false. |
public void | createBeanApp02() Creates a bean that throws always an application exception that extends
RuntimeException and has the rollback element as true. |
public void | createBeanRollback() Creates a bean that throws always an application exception that extends
Exception and has the rollback element as true. |
public void | createBeanRuntime() Creates a bean that throws always aa runtime exception. |
public void | setup() Creates the bean intances, closes the transactions and cleans the
database. |
public void | tesUsingClientTransWithAppRollbackException() Inserts a table in an database and after throws an application exception
that extends Exception and has the rollback element as true. |
public void | testNotUsingClientTransWithAppException() Inserts a table in an database and after throws an application exception
that extends Exception and has the rollback element as false. |
public void | testNotUsingClientTransWithAppRollbackException() Inserts a table in an database and after throws an application exception
that extends Exception and has the rollback element as false. |
public void | testNotUsingClientTransWithAppRuntimeException() Inserts a table in an database and after throws an application exception
that extends RuntimeException and has the rollback element as true. |
public void | testNotUsingClientTransWithAppRuntimeRollbackException() Inserts a table in an database and after throws an application exception
that extends RuntimeException and has the rollback element as false. |
public void | testNotUsingClientTransWithRuntimeException() Inserts a table in an database and after throws a runtime exception So,
the container must not rollback the transaction and must throw the
EJBException. |
public void | testUsingClientTransWithAppException() Inserts a table in an database and after throws an application exception
that extends Exception and has the rollback element as false. |
public void | testUsingClientTransWithAppRuntimeException() Inserts a table in an database and after throws an application exception
that extends RuntimeException and has the rollback element as false. |
public void | testUsingClientTransWithAppRuntimeRollbackException() Inserts a table in an database and after throws an application exception
that extends RuntimeException and has the rollback element as false. |
public void | testUsingClientTransWithRuntimeException() Inserts a table in an database and after throws an application exception
that extends RuntimeException and has the rollback element as false. |