Skip to content

/AWS1/CL_QLSCOMMITTRANSACTREQ

Contains the details of the transaction to commit.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_TRANSACTIONID TYPE /AWS1/QLSTRANSACTIONID /AWS1/QLSTRANSACTIONID

Specifies the transaction ID of the transaction to commit.

IV_COMMITDIGEST TYPE /AWS1/QLSCOMMITDIGEST /AWS1/QLSCOMMITDIGEST

Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.

The purpose of the CommitDigest parameter is to ensure that QLDB commits a transaction if and only if the server has processed the exact set of statements sent by the client, in the same order that client sent them, and with no duplicates.


Queryable Attributes

TransactionId

Specifies the transaction ID of the transaction to commit.

Accessible with the following methods

Method Description
GET_TRANSACTIONID() Getter for TRANSACTIONID, with configurable default
ASK_TRANSACTIONID() Getter for TRANSACTIONID w/ exceptions if field has no value
HAS_TRANSACTIONID() Determine if TRANSACTIONID has a value

CommitDigest

Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.

The purpose of the CommitDigest parameter is to ensure that QLDB commits a transaction if and only if the server has processed the exact set of statements sent by the client, in the same order that client sent them, and with no duplicates.

Accessible with the following methods

Method Description
GET_COMMITDIGEST() Getter for COMMITDIGEST, with configurable default
ASK_COMMITDIGEST() Getter for COMMITDIGEST w/ exceptions if field has no value
HAS_COMMITDIGEST() Determine if COMMITDIGEST has a value