startTransaction

Start a transaction in the context of this session with default transaction options. A transaction can not be started if there is already an active transaction on this session.


fun startTransaction(transactionOptions: TransactionOptions)

Start a transaction in the context of this session with the given transaction options. A transaction can not be started if there is already an active transaction on this session.

Parameters

transactionOptions

the options to apply to the transaction