Package org.jdbi.v3.core
package org.jdbi.v3.core
The 'core' package hosts the top level interface into jdbi core. Jdbi takes a JDBC DataSource or equivalent and provides a configurable fluent interface. It provides the Handle type for executing JDBC operations and transforming the returned result sets into reasonable Java types.
-
ClassDescriptionThrown when an exception occurs while attempting to close a database resource.Supplies
Connection
instances to a createdHandle
and allows custom close handling.This represents a connection to the database system.HandleCallback<T,X extends Exception> Callback that accepts a Handle that remains open for the duration of the callback invocation.Decorates theHandleCallback
instance forJdbi.useHandle(HandleConsumer)
,Jdbi.withHandle(HandleCallback)
,Jdbi.inTransaction(HandleCallback)
andJdbi.useTransaction(HandleConsumer)
.HandleConsumer<X extends Exception>Callback that accepts aHandle
and returns no result.Allows listening to events on theHandle
lifecycle.Configuration class for handles.Jdbi manages Handles to allow transaction nesting and extension objects to share the same handle as long as they are within a specific scope.Main entry point; configurable wrapper around a JDBCDataSource
.Base unchecked exception for exceptions thrown from jdbi.An immutable sql statement string created from multiple tokens in order to write inline sql statements in an easy-to-read fashion spread out over multiple lines of code.