Transaction
Base class representing a unit block of work that is performed on a database.
Properties
The database on which the transaction tasks are performed.
Whether tracked values like statementCount and duration should be stored in statementStats for debugging.
The parent transaction of a nested transaction; otherwise, null if the transaction is a top-level instance.
The number of seconds the driver should wait for a statement to execute in a transaction before timing out. Note that not all drivers implement this limit. For more information, refer to the relevant driver documentation.
The current number of statements executed in this transaction.
A StringBuilder containing string representations of previously executed statements prefixed by their execution time in milliseconds.
The unique ID for this transaction.
The transaction manager that manages this transaction instance.
The threshold in milliseconds for query execution to exceed before logging a warning.
Functions
Adds one or more SqlLoggers to this Transaction.
Returns the complete string identifier of a column, based on its Table.tableName and Column.name.
Returns the string identifier of a column, based on its Column.name.
Returns the string identifier of a table, based on its Table.tableName and Table.alias, if applicable.