# newTransaction

abstract fun newTransaction(isolation: Int = defaultIsolationLevel, readOnly: Boolean = defaultReadOnly, outerTransaction: JdbcTransaction? = null): JdbcTransaction

Returns a JdbcTransaction 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`.