Package org.apache.commons.dbutils


package org.apache.commons.dbutils
DbUtils is a small set of classes designed to make working with JDBC easier. JDBC resource cleanup code is mundane, error prone work so these classes abstract out all of the cleanup tasks from your code leaving you with what you really wanted to do with JDBC in the first place: query and update data.

This package contains the core classes and interfaces - DbUtils, QueryRunner and the ResultSetHandler interface should be your first items of interest.

  • Class
    Description
    The base class for QueryRunner & AsyncQueryRunner.
    Executes SQL queries with pluggable strategies for handling ResultSets.
    Extensions of this class convert ResultSets into other objects.
    Basic implementation of the RowProcessor interface.
    BeanProcessor matches column names to bean property names and converts ResultSet columns into objects for those bean properties.
    Annotation for BeanProcessor to receive hints of the field name rather than dissecting the method name.
    Defines how to process columns when constructing a bean from a ResultSet.
    A collection of JDBC helper methods.
    Provides generous name matching (e.g.
    Represents an OUT parameter for a stored procedure.
    Defines how to handle properties when constructing a bean from a ResultSet.
    Creates proxy implementations of JDBC interfaces.
    QueryLoader is a registry for sets of queries so that multiple copies of the same queries aren't loaded into memory.
    Executes SQL queries with pluggable strategies for handling ResultSets.
    Implementations of this interface convert ResultSets into other objects.
    Wraps a ResultSet in an Iterator<Object[]>.
    RowProcessor implementations convert ResultSet rows into various other objects.
    Configuration options for a Statement when preparing statements in QueryRunner.
    Builder class for StatementConfiguration for more flexible construction.