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.
-
Interface Summary Interface Description ConnectionFactory SuppliesConnectioninstances to a createdHandleand allows custom close handling.HandleCallback<T,X extends java.lang.Exception> Callback that accepts a Handle that remains open for the duration of the callback invocation.HandleConsumer<X extends java.lang.Exception> Callback that accepts aHandleand returns no result.HandleListener Allows listening to events on theHandlelifecycle.TransactionCallback -
Class Summary Class Description AbstractHandleSupplier ConstantHandleSupplier Handle This represents a connection to the database system.Handles Configuration class for handles.Jdbi Main entry point; configurable wrapper around a JDBCDataSource.LazyHandleSupplier SingleConnectionFactory Connection handler which always provides a single connection.Sql 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. -
Exception Summary Exception Description CloseException Thrown when an exception occurs while attempting to close a database resource.ConnectionException JdbiException Base unchecked exception for exceptions thrown from jdbi.