TransactionManager
A high-level API for managing transactions via scoped blocks.
This manager provides robust block-based transaction scoping, such as required and nested, automatically handling commit, rollback, and savepoints based on the execution result. Within these scopes, the receiver is restricted to OctaviusSessionOperations, preventing manual interference with the transaction lifecycle.
If you need manual, low-level transaction control (e.g., explicit commit(), rollback(), autoCommit manipulation, or manual savepoints), use the methods provided directly on the parent OctaviusSession.
Functions
Hands the terms this transaction was opened with to its BEGIN, as one statement.
Executes the given block within a nested transaction scope.
Executes the given block within a transaction scope.
Puts auto-commit back once a scope is over, however it ended.
Says out loud that a scope asked for terms it is in no position to set.