Uses of Interface
org.jdbi.v3.core.HandleConsumer
Package
Description
The 'core' package hosts the top level interface into jdbi core.
SQL Objects
-
Uses of HandleConsumer in org.jdbi.v3.core
Modifier and TypeMethodDescription<X extends Exception>
voidJdbi.useHandle
(HandleConsumer<X> consumer) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.<X extends Exception>
voidHandle.useTransaction
(HandleConsumer<X> consumer) Executescallback
in a transaction.<X extends Exception>
voidHandle.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> consumer) Executescallback
in a transaction.<X extends Exception>
voidJdbi.useTransaction
(HandleConsumer<X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.<X extends Exception>
voidJdbi.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients. -
Uses of HandleConsumer in org.jdbi.v3.core.async
Modifier and TypeMethodDescription<X extends Exception>
CompletionStage<Void>AbstractJdbiExecutor.useHandle
(HandleConsumer<X> consumer) <X extends Exception>
CompletionStage<Void>JdbiExecutor.useHandle
(HandleConsumer<X> consumer) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.<X extends Exception>
CompletionStage<Void>AbstractJdbiExecutor.useTransaction
(HandleConsumer<X> callback) <X extends Exception>
CompletionStage<Void>AbstractJdbiExecutor.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> callback) <X extends Exception>
CompletionStage<Void>JdbiExecutor.useTransaction
(HandleConsumer<X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.<X extends Exception>
CompletionStage<Void>JdbiExecutor.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients. -
Uses of HandleConsumer in org.jdbi.v3.sqlobject
Modifier and TypeMethodDescriptiondefault <X extends Exception>
voidSqlObject.useHandle
(HandleConsumer<X> consumer) A convenience function which manages the lifecycle of the handle associated to this sql object, and yields it to a consumer for use by clients.