prepareTransactionalSession

protected open fun prepareTransactionalSession(session: OctaviusSession, definition: TransactionDefinition)

Sends the transaction's timeout, where it has one, as SET LOCAL of the setting timeoutScope names, so nothing follows the connection back to the pool. Called only for a transaction this manager begins, never for one a method joins or a savepoint. A statement sent here also sends the transaction's BEGIN, which the driver otherwise holds back until the method's first statement.