Package | Description |
---|---|
org.skife.jdbi.v2 |
Start with
DBI and Handle |
org.skife.jdbi.v2.tweak |
Interfaces used to alter JDBI's behavior
|
org.skife.jdbi.v2.tweak.transactions |
Several
TransactionHandler instances ae provided for working in
different environments. |
Modifier and Type | Class and Description |
---|---|
class |
VoidTransactionCallback
Abstract
TransactionCallback that doesn't return a result. |
Modifier and Type | Method and Description |
---|---|
<ReturnType> |
IDBI.inTransaction(TransactionCallback<ReturnType> callback)
A convenience function which manages the lifecycle of a handle and yields it to a callback
for use by clients.
|
<ReturnType> |
Handle.inTransaction(TransactionCallback<ReturnType> callback)
Executes
callback in a transaction. |
<ReturnType> |
DBI.inTransaction(TransactionCallback<ReturnType> callback)
A convenience function which manages the lifecycle of a handle and yields it to a callback
for use by clients.
|
<ReturnType> |
IDBI.inTransaction(TransactionIsolationLevel isolation,
TransactionCallback<ReturnType> callback)
A convenience function which manages the lifecycle of a handle and yields it to a callback
for use by clients.
|
<ReturnType> |
Handle.inTransaction(TransactionIsolationLevel level,
TransactionCallback<ReturnType> callback)
Executes
callback in a transaction. |
<ReturnType> |
DBI.inTransaction(TransactionIsolationLevel isolation,
TransactionCallback<ReturnType> callback) |
Modifier and Type | Method and Description |
---|---|
<ReturnType> |
TransactionHandler.inTransaction(Handle handle,
TransactionCallback<ReturnType> callback)
Run a transaction.
|
<ReturnType> |
TransactionHandler.inTransaction(Handle handle,
TransactionIsolationLevel level,
TransactionCallback<ReturnType> callback)
Run a transaction.
|
Modifier and Type | Method and Description |
---|---|
<ReturnType> |
SerializableTransactionRunner.inTransaction(Handle handle,
TransactionCallback<ReturnType> callback) |
<ReturnType> |
LocalTransactionHandler.inTransaction(Handle handle,
TransactionCallback<ReturnType> callback) |
<ReturnType> |
DelegatingTransactionHandler.inTransaction(Handle handle,
TransactionCallback<ReturnType> callback) |
<ReturnType> |
CMTTransactionHandler.inTransaction(Handle handle,
TransactionCallback<ReturnType> callback) |
<ReturnType> |
SerializableTransactionRunner.inTransaction(Handle handle,
TransactionIsolationLevel level,
TransactionCallback<ReturnType> callback) |
<ReturnType> |
LocalTransactionHandler.inTransaction(Handle handle,
TransactionIsolationLevel level,
TransactionCallback<ReturnType> callback) |
<ReturnType> |
DelegatingTransactionHandler.inTransaction(Handle handle,
TransactionIsolationLevel level,
TransactionCallback<ReturnType> callback) |
<ReturnType> |
CMTTransactionHandler.inTransaction(Handle handle,
TransactionIsolationLevel level,
TransactionCallback<ReturnType> callback) |
Copyright © 2018. All rights reserved.