transaction.rollback();
if (transactionManager.getTransaction() != transaction) { throw new IllegalStateException("Transaction is not bound to the current thread"); } transactionManager.rollback();
    public void release() {        if (transaction != null) {            try {                transaction.rollback();            }            catch (SystemException e) {                log.warn("Failed to rollback transaction: " + e, e);            }        }    }