transaction package implements the strategy
Jdbi uses to open and close transactions.See: Description
| Interface | Description |
|---|---|
| TransactionHandler |
Interface which defines callbacks to be used when transaction methods are called on a handle.
|
| Class | Description |
|---|---|
| CMTTransactionHandler |
Handler designed to behave properly in a J2EE CMT environment.
|
| DelegatingTransactionHandler |
Simple delegating subclass that just invokes its delegate.
|
| LocalTransactionHandler |
This
TransactionHandler uses local JDBC transactions
demarcated explicitly on the handle and passed through to be handled
directly on the JDBC Connection instance. |
| SerializableTransactionRunner |
A TransactionHandler that automatically retries transactions that fail due to
serialization failures, which can generally be resolved by automatically
retrying the transaction.
|
| SerializableTransactionRunner.Configuration |
Configuration for serializable transaction runner
|
| Enum | Description |
|---|---|
| TransactionIsolationLevel |
Supported transaction isolation levels.
|
| Exception | Description |
|---|---|
| TransactionException |
Thrown when there's a problem manipulating the transaction isolation level.
|
| UnableToManipulateTransactionIsolationLevelException |
Thrown when
Jdbi isn't able to change the transaction isolation level. |
| UnableToRestoreAutoCommitStateException |
Thrown after a transaction finishes if we can't reset its isolation level.
|
The transaction package implements the strategy
Jdbi uses to open and close transactions. The default
instance simply sets the transaction property on the connection.
There is also a runner that runs SERIALIZABLE transactions
repeatedly until they succeed without transient serialization failures.
Copyright © 2017. All rights reserved.