newTransaction
abstract fun newTransaction(isolation: TransactionIsolation? = defaultIsolation): 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.