1 25 package org.objectweb.easybeans.tests.common.ejbs.base.transaction; 26 27 import org.objectweb.easybeans.tests.common.exception.TransactionException; 28 29 34 public interface ItfContainerTransaction { 35 36 39 String TABLE = "test"; 40 41 47 void insertCorrectTableInBothDB(final String db1, final String db2) throws Exception ; 48 49 56 void insertCorrectFirstErrorSecond(final String db1, final String db2) throws Exception ; 57 58 65 public void setRollbackOnly(final String dbName1, final String dbName2) throws TransactionException, Exception ; 66 67 71 boolean getRollbackOnly() throws TransactionException; 72 73 82 void insertTablesUsingAuxBeanReq(final String db1, final String db2) throws Exception ; 83 84 93 void insertTablesUsingAuxBeanNotSup(final String db1, final String db2) throws Exception ; 94 95 101 void getUserTransactionWithLookup() throws Exception ; 102 103 109 void getUserTransactionWithEJBContext() throws Exception ; 110 111 } 112 | Popular Tags |