Package | Description |
---|---|
org.skife.jdbi.v2 |
Start with
DBI and Handle |
org.skife.jdbi.v2.tweak.transactions |
Several
TransactionHandler instances ae provided for working in
different environments. |
Modifier and Type | Method and Description |
---|---|
TransactionHandler |
DBI.getTransactionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
DBI.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 |
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(SerializableTransactionRunner.Configuration configuration,
TransactionHandler delegate) |
Copyright © 2018. All rights reserved.