Uses of Interface
org.jdbi.v3.core.HandleCallback
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
transaction
package implements the strategy
Jdbi
uses to open and close transactions.SQL Objects
-
Uses of HandleCallback in org.jdbi.v3.core
Modifier and TypeMethodDescription<R,
X extends Exception>
RHandle.inTransaction
(HandleCallback<R, X> callback) Executescallback
in a transaction, and returns the result of the callback.<R,
X extends Exception>
RHandle.inTransaction
(TransactionIsolationLevel level, HandleCallback<R, X> callback) Executescallback
in a transaction, and returns the result of the callback.<R,
X extends Exception>
RJdbi.inTransaction
(HandleCallback<R, X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.<R,
X extends Exception>
RJdbi.inTransaction
(TransactionIsolationLevel level, HandleCallback<R, X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.<R,
X extends Exception>
RJdbi.withHandle
(HandleCallback<R, X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients. -
Uses of HandleCallback in org.jdbi.v3.core.transaction
Modifier and TypeMethodDescription<R,
X extends Exception>
RCMTTransactionHandler.inTransaction
(Handle handle, HandleCallback<R, X> callback) <R,
X extends Exception>
RCMTTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RDelegatingTransactionHandler.inTransaction
(Handle handle, HandleCallback<R, X> callback) <R,
X extends Exception>
RDelegatingTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RLocalTransactionHandler.inTransaction
(Handle handle, HandleCallback<R, X> callback) <R,
X extends Exception>
RLocalTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RSerializableTransactionRunner.inTransaction
(Handle handle, HandleCallback<R, X> callback) <R,
X extends Exception>
RSerializableTransactionRunner.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RTransactionHandler.inTransaction
(Handle handle, HandleCallback<R, X> callback) Run a transaction.<R,
X extends Exception>
RTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) Run a transaction. -
Uses of HandleCallback in org.jdbi.v3.sqlobject
Modifier and TypeMethodDescription<R,
X extends Exception>
RSqlObject.withHandle
(HandleCallback<R, X> callback) A convenience function which manages the lifecycle of the handle associated to this sql object, and yields it to a callback for use by clients.