Class DBSTransactionState

  • All Implemented Interfaces:
    AutoCloseable, LockManager

    public class DBSTransactionState
    extends Object
    implements LockManager, AutoCloseable
    Transactional state for a session.

    Until save() is called, data lives in the transient map.

    Upon save, data is written to the repository connection.

    If the connection is transactional, usual behavior occurs.

    If the connection is not transactional, then at this means that other sessions can read uncommitted data. To allow rollback, save data is also kept in an undo log in order for rollback to be possible. On commit, the undo log is forgotten. On rollback, the undo log is replayed.

    Since:
    5.9.4