newTransaction

open override fun newTransaction(isolation: TransactionIsolation?): Transaction(source)

Open a new transaction for the current thread using the specific isolation if there is no transaction opened.

Return

the new-created transaction.

Parameters

isolation

the transaction isolation, by default, defaultIsolation is used.

Throws

if there is already a transaction opened.