Example #1
0
 function transactionRollback()
 {
     $result = $this->adapter->rollback();
     $this->transactionManager->inTransaction = false;
     if (!$result) {
         throw new TransactionException("Transaction ROLLBACK failed");
     }
     $this->transactionManager->handleOnRollback();
     $this->transactionManager->clearAfterCommitOrRollback();
 }