Home Reference Source

Typedef

Static Public Summary
public

Configuration object containing settings for explicit and auto-commit transactions.

Static Public

public TransactionConfig: object source

Configuration object containing settings for explicit and auto-commit transactions.

Configuration is supported for:

Properties:

NameTypeAttributeDescription
timeout number

the transaction timeout in milliseconds. Transactions that execute longer than the configured timeout will be terminated by the database. This functionality allows to limit query/transaction execution time. Specified timeout overrides the default timeout configured in the database using dbms.transaction.timeout setting. Value should not represent a duration of zero or negative duration.

metadata object

the transaction metadata. Specified metadata will be attached to the executing transaction and visible in the output of dbms.listQueries and dbms.listTransactions procedures. It will also get logged to the query.log. This functionality makes it easier to tag transactions and is equivalent to dbms.setTXMetaData procedure.