Skip to content
This repository

jDBI is designed to provide convenient tabular data access in Java(tm). It uses the Java collections framework for query results, provides a convenient means of externalizing sql statements, and provides named parameter support for any database being used.

branch: argument-facto…

This branch is 0 commits ahead and 336 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

jDBI provides a convenience interface for SQL operations in Java. It is not
intended as an abstraction layer, but rather a library which makes the common
things easy and the hard things possible, to paraphrase Larry Wall.

The primary entry point for using jDBI is the DBI class. This is used to create
Handle instances, each of which represents a connection to the RDBMS. A Handle
wraps a JDBC Connection instance, and makes use of that same Connection for all
of its operations.

Generally, you will explicitly create statements, queries, and batch
operations for working with data in the database. Separate objects are used to
represent these things, and they are designed to be used in a somewhat
literate-programming style. Here is an example:

  DBI dbi = new DBI("jdbc:derby:testing");
  Handle handle =;
  Query<Something> query = handle.createQuery("select * from something where name like :name")
                                 .bind("name", "Eri%")
  List<Something> rs = query.list();

There is a mailing list at
Something went wrong with that request. Please try again.