266267268269270271272273274275276
} } protected void endTransaction() throws DaoException { if (isTransactionStarted() == false) { throw new IllegalTransactionStateException("Transaction is not started."); } if (TransactionStateManager.getInstance().isNotCommited()) { rollback(); abortTransaction(); }
279280281282283284285
RdbDaoEvent event = createRdbDaoEvent(); getTransactionHandler().handleTransantionEnd(event); } void abortTransaction() { throw new IllegalTransactionStateException("Transaction is not commit or rollback. Force execute rollback."); }