Package-level declarations
Types
A transaction manager for a DataSource that runs each transaction through an OctaviusSession, so a failure of the database or the connection leaves it as the driver's own exception.
Holds the session bound to the current transaction: by OctaviusJdbcTransactionManager for a transaction it begins, and by OctaviusTemplate for one another manager began, or for synchronization with no transaction behind it.
What an OctaviusSession is bound to the current transaction under.
Ends the transaction-scoped session at the right point in Spring's completion sequence.
Spring Boot auto-configuration for the Octavius driver.
Runs a block on an OctaviusSession: the running transaction's where there is one, otherwise one over a connection borrowed for the call.
What a Spring transaction timeout - @Transactional(timeout = …), a TransactionTemplate's, or spring.transaction.default-timeout - is enforced on.
Functions
Closes the session after rolling back the transaction a pool with auto-commit off leaves open on its connection - for a session no Spring transaction is running under any more.
The driver's exception for a connection dataSource would not hand over: the one in ex's cause chain where the data source was carrying a driver failure, and otherwise an InitializationException restating the refusal - CONNECTION_UNAVAILABLE for a transient one, which is how a pool reports having none free, and CONNECTION_ERROR for the rest.