execute

abstract fun <T> execute(action: OctaviusSessionOperations.() -> T): T

Runs action on the session for the current context: the transaction's inside a transaction, the enclosing call's inside another execute, and otherwise one obtained for this call alone, whose statements commit as they go. An implementation is expected to share the session across nested calls.