Uses of Interface
org.jdbi.v3.core.statement.Cleanable
Packages that use 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
Methods in org.jdbi.v3.core that return CleanableModifier and TypeMethodDescriptiondefault CleanableConnectionFactory.getCleanableFor(Connection conn) Returns aCleanablethat will close the connection and release all necessary resources.Methods in org.jdbi.v3.core with parameters of type CleanableModifier and TypeMethodDescriptionfinal voidHandle.addCleanable(Cleanable cleanable) Registers aCleanableto be invoked when the handle is closed.final voidHandle.removeCleanable(Cleanable cleanable) Unregister aCleanablefrom the Handle. -
Uses of Cleanable in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement with parameters of type CleanableModifier and TypeMethodDescriptionvoidStatementContext.addCleanable(Cleanable cleanable) Registers aCleanableto be invoked when the statement context is closed.default voidStatementContextListener.cleanableAdded(StatementContext statementContext, Cleanable cleanable) ACleanableobject was added to this context for cleanup when the context is cleaned.default voidStatementContextListener.cleanableRemoved(StatementContext statementContext, Cleanable cleanable) ACleanableobject was removed from the context.