Examples of ItfTransactionMisc00


Examples of org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.transaction.ItfTransactionMisc00

     */
    public void insertTablesUsingAuxBeanReq(final String db1, final String db2) throws Exception {
        // inserts a correct table in the first database
        insertTable(db1);
        // creates the auxiliary bean
        ItfTransactionMisc00 slsbTransactionMisc00 = EJBHelper.getBeanRemoteInstance(SLSBTransactionMisc00.class,
                ItfTransactionMisc00.class);
        // calls insert table for the auxiliary bean in the second database
        slsbTransactionMisc00.insertTableWithRequired(db2);
        // makes an illegal insertion to force a rollback.
        makeSQLError(db2);

    }
View Full Code Here

Examples of org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.transaction.ItfTransactionMisc00

     */
    public void insertTablesUsingAuxBeanNotSup(final String db1, final String db2) throws Exception {
        // inserts a correct table in the first database
        insertTable(db1);
        // creates the auxiliary bean
        ItfTransactionMisc00 slsbTransactionMisc00 = EJBHelper.getBeanRemoteInstance(SLSBTransactionMisc00.class,
                ItfTransactionMisc00.class);
        // calls insert table for the auxiliary bean in the second database
        slsbTransactionMisc00.insertTableWithNotSupported(db2);
        // makes an illegal insertion to force a rollback.
        makeSQLError(db2);

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.