robe-hibernate/src/main/java/io/robe/hibernate/transaction/Transaction.java
private void error() {
        org.hibernate.Transaction txn = session.getTransaction();
        if (txn != null && txn.getStatus().equals(TransactionStatus.ACTIVE)) {
            txn.rollback();
        }
    }
private void error() {
        org.hibernate.Transaction txn = session.getTransaction();
        if (txn != null && txn.getStatus().equals(TransactionStatus.ACTIVE)) {
            txn.rollback();
        }
    }
If transaction is present and active then rollback.