Enumeration of transaction types

>Enumeration of transaction types

Enumeration of transaction types

These constants define the possible flags for the optional type parameter in WHILE TRANS and KI_BEGIN.

Read-only transactions feature the same isolation guarantees as serializable transactions but with updates forbidden. Specifying both _KDB_TRANS_READONLY and _KDB_TRANS_SERIALIZABLE on the same transaction when using an Oracle database will result in an ORA-24760 (invalid isolation level flags) error - specifying _KDB_TRANS_READONLY on its own is sufficient.

DEF ENUM enumeration name KDB_TRANS_ENUM

Enumeration ValueValueDescription
_KDB_TRANS_STANDARD0x0Standard transaction
_KDB_TRANS_AUTONOMOUS0x1Autonomous transaction
_KDB_TRANS_SERIALIZABLE0x2Serializable transaction
_KDB_TRANS_READONLY0x4Read-only transaction

Back to the list of Enumerations and Constants