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.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.