Client Session
A client session that supports transactions.
Functions
Link copied to clipboard
Abort a transaction in the context of this session.
Link copied to clipboard
Commit a transaction in the context of this session. A transaction can only be commmited if one has first been started.
Link copied to clipboard
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.
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.
Link copied to clipboard
fun <T : Any> withTransaction(transactionBody: () -> T, options: TransactionOptions = TransactionOptions.builder().build()): T
Execute the given function within a transaction.