Uses of Interface
org.jdbi.v3.core.statement.Cleanable
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
statement
package provides most of the Fluent API
to drive statement execution.-
Uses of Cleanable in org.jdbi.v3.core
Modifier and TypeMethodDescriptiondefault Cleanable
ConnectionFactory.getCleanableFor
(Connection conn) Returns aCleanable
that will close the connection and release all necessary resources.Modifier and TypeMethodDescriptionfinal void
Handle.addCleanable
(Cleanable cleanable) Registers aCleanable
to be invoked when the handle is closed.final void
Handle.removeCleanable
(Cleanable cleanable) Unregister aCleanable
from the Handle. -
Uses of Cleanable in org.jdbi.v3.core.statement
Modifier and TypeFieldDescriptionstatic final Cleanable
Cleanable.NO_OP
A cleanable that does nothing.Modifier and TypeMethodDescriptionvoid
StatementContext.addCleanable
(Cleanable cleanable) Registers aCleanable
to be invoked when the statement context is closed.default void
StatementContextListener.cleanableAdded
(StatementContext statementContext, Cleanable cleanable) ACleanable
object was added to this context for cleanup when the context is cleaned.default void
StatementContextListener.cleanableRemoved
(StatementContext statementContext, Cleanable cleanable) ACleanable
object was removed from the context.