newTransaction

open override fun newTransaction(isolation: Int, readOnly: Boolean, outerTransaction: Transaction?): Transaction

Returns a Transaction instance.

The returned value may be a new transaction, or it may return the outerTransaction if called from within an existing transaction with the database not configured to useNestedTransactions.