Package org.tamacat.sql

Examples of org.tamacat.sql.IllegalTransactionStateException


      }
    }
   
    protected void endTransaction() throws DaoException {
      if (isTransactionStarted() == false) {
        throw new IllegalTransactionStateException("Transaction is not started.");
      }
      if (TransactionStateManager.getInstance().isNotCommited()) {
        rollback();
        abortTransaction();
      }
View Full Code Here


      RdbDaoEvent event = createRdbDaoEvent();
    getTransactionHandler().handleTransantionEnd(event);
    }
   
    void abortTransaction() {
      throw new IllegalTransactionStateException("Transaction is not commit or rollback. Force execute rollback.");
    }
View Full Code Here

TOP

Related Classes of org.tamacat.sql.IllegalTransactionStateException

Copyright © 2018 www.massapicom. 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.