base/common/src/main/com/thesett/common/tx/TxSessionImpl.java
public void rollback()
    {
        // Rollback all soft resources.
        for (Transactional enlist : enlists)
        {
            enlist.rollback();
        }

        // Clear all of the rolled back resources.
        enlists.clear();

        // Invalidate the transaction id, so that a fresh transaction is begun.
        txId = TxManager.removeTxIdFromThread();
        TxManager.invalidateTxId(txId);
        bind();
    }
public void rollback()
    {
        // Rollback all soft resources.
        for (Transactional enlist : enlists)
        {
            enlist.rollback();
        }

        // Clear all of the rolled back resources.
        enlists.clear();

        // Invalidate the transaction id, so that a fresh transaction is begun.
        txId = TxManager.removeTxIdFromThread();
        TxManager.invalidateTxId(txId);
        bind();
    }
Forgets pending operations.