Examples of commitTransactionImplicit()


Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

        try {
            tm.beginTransactionImplicit();
           
            assoc = internal_attach(newTarget);
           
            tm.commitTransactionImplicit();
        }
        catch(GenericException ex) {
            tm.rollbackTransactionImplicit();
            throw ex;
        }
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

        try {
            tm.beginTransactionImplicit();
           
            internal_detach(removeDependent);
           
            tm.commitTransactionImplicit();
        }
        catch(GenericException ex) {
            tm.rollbackTransactionImplicit();
            throw ex;
        }
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

        try {
            tm.beginTransactionImplicit();
           
            internal_delete();
           
            tm.commitTransactionImplicit();
        }
        catch(GenericException ex) {
            tm.rollbackTransactionImplicit();
            throw ex;
        }
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

       
        try {
            tm.beginTransactionImplicit();
            detach(false);
            assr = attach(record);
            tm.commitTransactionImplicit();
        }
        catch(Exception ex) {
            tm.rollbackTransactionImplicit();
            throw new RelationException(ex);
        }
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

            beforeCreate();
            r = internal_create(changedOnly);
            afterCreate();

            tm.commitTransactionImplicit();
           
            ActiveRecordUtil.getGateway(getClass()).getModelCacheClient().clearCache("create");
        }
        catch(BaseSQLException bdex) {
            tm.rollbackTransactionImplicit();
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

            //if (log.isDebugEnabled()) displayDS((String)inputs.get(DataProcessor.input_key_database_connection_name), "beforeExecute");
            returnTO = executeKeepConnection(connection, inputs, processorType, processorName, outputFilters);
            //if (log.isDebugEnabled()) displayDS((String)inputs.get(DataProcessor.input_key_database_connection_name), "afterExecute");

            tm.commitTransactionImplicit();
            //if (log.isDebugEnabled()) displayDS((String)inputs.get(DataProcessor.input_key_database_connection_name), "afterCommit");
        }
        catch(BaseSQLException bdex) {
            tm.rollbackTransactionImplicit();
            throw bdex;
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

                    OmniDTO returnTO2 = executeKeepConnection(connection, childIp.getInputs(), childIp.getProcessorType(), childIp.getProcessorName(), childIp.getOutputFilters());
                    returnTO.addChildrenOmniDTOToList(returnTO2);
                }
            }

            tm.commitTransactionImplicit();
        }
        catch(BaseSQLException bdex) {
            tm.rollbackTransactionImplicit();
            throw bdex;
        }
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

        log.warn("Should only update one, but actually updated "
            + updateCount + " records.");

      afterUpdate();

            tm.commitTransactionImplicit();
           
            ActiveRecordUtil.getGateway(getClass()).getModelCacheClient().clearCache("update");
        }
        catch(BaseSQLException bdex) {
            tm.rollbackTransactionImplicit();
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

            afterDelete();

            freeze();

            tm.commitTransactionImplicit();
        }
        catch(BaseSQLException bdex) {
            tm.rollbackTransactionImplicit();
            throw bdex;
        }
View Full Code Here

Examples of com.scooterframework.transaction.ImplicitTransactionManager.commitTransactionImplicit()

        try {
            tm.beginTransactionImplicit();
           
            assocs = internal_add(records, joinInputs);
           
            tm.commitTransactionImplicit();
        }
        catch(GenericException ex) {
            tm.rollbackTransactionImplicit();
            throw ex;
        }
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.