Class RDBMSConsistentReadTransaction

All Implemented Interfaces:
AutoCloseable

public class RDBMSConsistentReadTransaction extends RDBMSTransaction
RDBMS transaction opened by RDBMSBackendModule.openConsistentReadTransaction: a (read-only, by default) transaction on one connection, started such that every table read through it sees one snapshot. Pass it as the transaction on query, count, etc. inputs. The connection's isolation level and read-only flag are put back when this transaction is closed (as the connection may come from a pool). Closing without commit rolls back - which, for a read-only transaction, is the same thing, and releases the snapshot.