TransactionTimeoutScope
What a Spring transaction timeout - @Transactional(timeout = …), a TransactionTemplate's, or spring.transaction.default-timeout - is enforced on.
Each scope is one PostgreSQL setting and promises what that setting does. Neither is what JdbcTemplate does, which is to give each statement what is left of the timeout. OctaviusJdbcTransactionManager.timeoutScope is where the choice is made.
Entries
The transaction as a whole, through transaction_timeout, the time between statements included: at the deadline the server ends the session - running statement or none - and whatever touches it next gets SessionTerminatedException(TRANSACTION_TIMEOUT). It costs a connection each time it fires.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.