| Package | Description |
|---|---|
| org.jdbi.v3.core |
The 'core' package hosts the top level interface into jdbi core.
|
| org.jdbi.v3.core.transaction |
The
transaction package implements the strategy
Jdbi uses to open and close transactions. |
| Modifier and Type | Method and Description |
|---|---|
TransactionHandler |
Jdbi.getTransactionHandler() |
| Modifier and Type | Method and Description |
|---|---|
Jdbi |
Jdbi.setTransactionHandler(TransactionHandler handler)
Specify the TransactionHandler instance to use.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CMTTransactionHandler
Handler designed to behave properly in a J2EE CMT environment.
|
class |
DelegatingTransactionHandler
Simple delegating subclass that just invokes its delegate.
|
class |
LocalTransactionHandler
This
TransactionHandler uses local JDBC transactions
demarcated explicitly on the handle and passed through to be handled
directly on the JDBC Connection instance. |
class |
SerializableTransactionRunner
A TransactionHandler that automatically retries transactions that fail due to
serialization failures, which can generally be resolved by automatically
retrying the transaction.
|
| Modifier and Type | Method and Description |
|---|---|
protected TransactionHandler |
DelegatingTransactionHandler.getDelegate() |
| Constructor and Description |
|---|
DelegatingTransactionHandler(TransactionHandler delegate) |
SerializableTransactionRunner(TransactionHandler delegate) |
Copyright © 2017. All rights reserved.