Skip navigation links
A B C D E F G H I K L M N O P Q R S T U W 

A

absolute(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
AbstractKeyedHandler<K,V> - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that returns a Map.
AbstractKeyedHandler() - Constructor for class org.apache.commons.dbutils.handlers.AbstractKeyedHandler
 
AbstractListHandler<T> - Class in org.apache.commons.dbutils.handlers
Abstract class that simplify development of ResultSetHandler classes that convert ResultSet into List.
AbstractListHandler() - Constructor for class org.apache.commons.dbutils.handlers.AbstractListHandler
 
AbstractQueryRunner - Class in org.apache.commons.dbutils
The base class for QueryRunner & AsyncQueryRunner.
AbstractQueryRunner() - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
Default constructor, sets pmdKnownBroken to false, ds to null and stmtConfig to null.
AbstractQueryRunner(boolean) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
Constructor to control the use of ParameterMetaData.
AbstractQueryRunner(DataSource) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
Constructor to provide a DataSource.
AbstractQueryRunner(DataSource, boolean) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
Constructor to provide a DataSource and control the use of ParameterMetaData.
AbstractQueryRunner(DataSource, boolean, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
Constructor for QueryRunner that takes a DataSource, a StatementConfiguration, and controls the use of ParameterMetaData.
AbstractQueryRunner(DataSource, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
Constructor for QueryRunner that takes a DataSource to use and a StatementConfiguration.
AbstractQueryRunner(StatementConfiguration) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
Constructor for QueryRunner that takes a StatementConfiguration to configure statements when preparing them.
afterLast() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
apply(ResultSet, int) - Method in interface org.apache.commons.dbutils.ColumnHandler
Retrieves the current row's column value from a ResultSet and stores it into an instance of propType.
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.BooleanColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.ByteColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.DoubleColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.FloatColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.IntegerColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.LongColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.ShortColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.SQLXMLColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.StringColumnHandler
 
apply(ResultSet, int) - Method in class org.apache.commons.dbutils.handlers.columns.TimestampColumnHandler
 
apply(Class<?>, Object) - Method in class org.apache.commons.dbutils.handlers.properties.DatePropertyHandler
 
apply(Class<?>, Object) - Method in class org.apache.commons.dbutils.handlers.properties.StringEnumPropertyHandler
 
apply(Class<?>, Object) - Method in interface org.apache.commons.dbutils.PropertyHandler
Stores the given value into an instance of type parameter.
ArrayHandler - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts a ResultSet into an Object[].
ArrayHandler() - Constructor for class org.apache.commons.dbutils.handlers.ArrayHandler
Creates a new instance of ArrayHandler using a BasicRowProcessor for conversion.
ArrayHandler(RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.ArrayHandler
Creates a new instance of ArrayHandler.
ArrayListHandler - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts the ResultSet into a List of Object[]s.
ArrayListHandler() - Constructor for class org.apache.commons.dbutils.handlers.ArrayListHandler
Creates a new instance of ArrayListHandler using a BasicRowProcessor for conversions.
ArrayListHandler(RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.ArrayListHandler
Creates a new instance of ArrayListHandler.
AsyncQueryRunner - Class in org.apache.commons.dbutils
Executes SQL queries with pluggable strategies for handling ResultSets.
AsyncQueryRunner(boolean, ExecutorService) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
Deprecated.
Use AsyncQueryRunner(ExecutorService, QueryRunner) instead. Constructor for AsyncQueryRunner that controls the use of ParameterMetaData.
AsyncQueryRunner(DataSource, boolean, ExecutorService) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
Deprecated.
Use AsyncQueryRunner(ExecutorService, QueryRunner) instead. Constructor for AsyncQueryRunner that take a DataSource and controls the use of ParameterMetaData. Methods that do not take a Connection parameter will retrieve connections from this DataSource.
AsyncQueryRunner(DataSource, ExecutorService) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
Deprecated.
Use AsyncQueryRunner(ExecutorService, QueryRunner) instead. Constructor for AsyncQueryRunner that takes a DataSource. Methods that do not take a Connection parameter will retrieve connections from this DataSource.
AsyncQueryRunner(ExecutorService) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
Constructor for AsyncQueryRunner.
AsyncQueryRunner(ExecutorService, QueryRunner) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
Constructor for AsyncQueryRunner which uses a provided ExecutorService and underlying QueryRunner.
AsyncQueryRunner.BatchCallableStatement - Class in org.apache.commons.dbutils
Deprecated.
No longer used by this class. Will be removed in a future version. Class that encapsulates the continuation for batch calls.
AsyncQueryRunner.QueryCallableStatement<T> - Class in org.apache.commons.dbutils
Class that encapsulates the continuation for query calls.
AsyncQueryRunner.UpdateCallableStatement - Class in org.apache.commons.dbutils
Deprecated.
No longer used by this class. Will be removed in a future version. Class that encapsulates the continuation for update calls.

B

BaseResultSetHandler<T> - Class in org.apache.commons.dbutils
Extensions of this class convert ResultSets into other objects.
BaseResultSetHandler() - Constructor for class org.apache.commons.dbutils.BaseResultSetHandler
 
BasicRowProcessor - Class in org.apache.commons.dbutils
Basic implementation of the RowProcessor interface.
BasicRowProcessor() - Constructor for class org.apache.commons.dbutils.BasicRowProcessor
BasicRowProcessor constructor.
BasicRowProcessor(BeanProcessor) - Constructor for class org.apache.commons.dbutils.BasicRowProcessor
BasicRowProcessor constructor.
batch(Connection, String, Object[][]) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
batch(String, Object[][]) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
batch(Connection, String, Object[][]) - Method in class org.apache.commons.dbutils.QueryRunner
Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
batch(String, Object[][]) - Method in class org.apache.commons.dbutils.QueryRunner
Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
BatchCallableStatement(String, Object[][], Connection, boolean, PreparedStatement) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner.BatchCallableStatement
Deprecated.
Creates a new BatchCallableStatement instance.
BeanHandler<T> - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts the first ResultSet row into a JavaBean.
BeanHandler(Class<? extends T>) - Constructor for class org.apache.commons.dbutils.handlers.BeanHandler
Creates a new instance of BeanHandler.
BeanHandler(Class<? extends T>, RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.BeanHandler
Creates a new instance of BeanHandler.
BeanListHandler<T> - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts a ResultSet into a List of beans.
BeanListHandler(Class<? extends T>) - Constructor for class org.apache.commons.dbutils.handlers.BeanListHandler
Creates a new instance of BeanListHandler.
BeanListHandler(Class<? extends T>, RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.BeanListHandler
Creates a new instance of BeanListHandler.
BeanMapHandler<K,V> - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that returns a Map of Beans.
BeanMapHandler(Class<V>) - Constructor for class org.apache.commons.dbutils.handlers.BeanMapHandler
Creates a new instance of BeanMapHandler.
BeanMapHandler(Class<V>, int) - Constructor for class org.apache.commons.dbutils.handlers.BeanMapHandler
Creates a new instance of BeanMapHandler.
BeanMapHandler(Class<V>, RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.BeanMapHandler
Creates a new instance of BeanMapHandler.
BeanMapHandler(Class<V>, String) - Constructor for class org.apache.commons.dbutils.handlers.BeanMapHandler
Creates a new instance of BeanMapHandler.
BeanProcessor - Class in org.apache.commons.dbutils
BeanProcessor matches column names to bean property names and converts ResultSet columns into objects for those bean properties.
BeanProcessor() - Constructor for class org.apache.commons.dbutils.BeanProcessor
Constructor for BeanProcessor.
BeanProcessor(Map<String, String>) - Constructor for class org.apache.commons.dbutils.BeanProcessor
Constructor for BeanProcessor configured with column to property name overrides.
beforeFirst() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
BooleanColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
BooleanColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.BooleanColumnHandler
 
build() - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
 
Builder() - Constructor for class org.apache.commons.dbutils.StatementConfiguration.Builder
 
ByteColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
ByteColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.ByteColumnHandler
 

C

call() - Method in class org.apache.commons.dbutils.AsyncQueryRunner.BatchCallableStatement
Deprecated.
The actual call to executeBatch.
call() - Method in class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
The actual call to handle() method.
call() - Method in class org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
Deprecated.
The actual call to executeUpdate() method.
cancelRowUpdates() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
clearWarnings() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
close(Connection) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Close a Connection.
close(ResultSet) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Close a ResultSet.
close(Statement) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Close a Statement.
close() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
close(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Close a Connection, avoid closing if null.
close(ResultSet) - Static method in class org.apache.commons.dbutils.DbUtils
Close a ResultSet, avoid closing if null.
close(Statement) - Static method in class org.apache.commons.dbutils.DbUtils
Close a Statement, avoid closing if null.
closeQuietly(Connection) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
closeQuietly(ResultSet) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
closeQuietly(Statement) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
closeQuietly(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Close a Connection, avoid closing if null and hide any SQLExceptions that occur.
closeQuietly(Connection, Statement, ResultSet) - Static method in class org.apache.commons.dbutils.DbUtils
Close a Connection, Statement and ResultSet.
closeQuietly(ResultSet) - Static method in class org.apache.commons.dbutils.DbUtils
Close a ResultSet, avoid closing if null and hide any SQLExceptions that occur.
closeQuietly(Statement) - Static method in class org.apache.commons.dbutils.DbUtils
Close a Statement, avoid closing if null and hide any SQLExceptions that occur.
Column - Annotation Type in org.apache.commons.dbutils
Annotation for BeanProcessor to receive hints of the field name rather than dissecting the method name.
ColumnHandler<T> - Interface in org.apache.commons.dbutils
Defines how to process columns when constructing a bean from a ResultSet.
columnIndex - Variable in class org.apache.commons.dbutils.handlers.KeyedHandler
The column index to retrieve key values from.
ColumnListHandler<T> - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts one ResultSet column into a List of Objects.
ColumnListHandler() - Constructor for class org.apache.commons.dbutils.handlers.ColumnListHandler
Creates a new instance of ColumnListHandler.
ColumnListHandler(int) - Constructor for class org.apache.commons.dbutils.handlers.ColumnListHandler
Creates a new instance of ColumnListHandler.
ColumnListHandler(String) - Constructor for class org.apache.commons.dbutils.handlers.ColumnListHandler
Creates a new instance of ColumnListHandler.
columnName - Variable in class org.apache.commons.dbutils.handlers.KeyedHandler
The column name to retrieve key values from.
commitAndClose(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Commits a Connection then closes it, avoid closing if null.
commitAndCloseQuietly(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Commits a Connection then closes it, avoid closing if null and hide any SQLExceptions that occur.
convert - Variable in class org.apache.commons.dbutils.handlers.KeyedHandler
The RowProcessor implementation to use when converting rows into Objects.
createCallableStatement(InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Creates a new proxy CallableStatement object.
createCaseInsensitiveHashMap(int) - Static method in class org.apache.commons.dbutils.BasicRowProcessor
 
createConnection(InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Creates a new proxy Connection object.
createDriver(InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Creates a new proxy Driver object.
createKey(ResultSet) - Method in class org.apache.commons.dbutils.handlers.AbstractKeyedHandler
This factory method is called by handle() to retrieve the key value from the current ResultSet row.
createKey(ResultSet) - Method in class org.apache.commons.dbutils.handlers.BeanMapHandler
This factory method is called by handle() to retrieve the key value from the current ResultSet row.
createKey(ResultSet) - Method in class org.apache.commons.dbutils.handlers.KeyedHandler
This factory method is called by handle() to retrieve the key value from the current ResultSet row.
createMap() - Method in class org.apache.commons.dbutils.handlers.AbstractKeyedHandler
This factory method is called by handle() to create the Map to store records in.
createPreparedStatement(InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Creates a new proxy PreparedStatement object.
createResultSet(InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Creates a new proxy ResultSet object.
createResultSetMetaData(InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Creates a new proxy ResultSetMetaData object.
createRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.AbstractKeyedHandler
This factory method is called by handle() to store the current ResultSet row in some object.
createRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.BeanMapHandler
 
createRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.KeyedHandler
This factory method is called by handle() to store the current ResultSet row in some object.
createStatement(InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Creates a new proxy Statement object.

D

DatePropertyHandler - Class in org.apache.commons.dbutils.handlers.properties
PropertyHandler for date fields.
DatePropertyHandler() - Constructor for class org.apache.commons.dbutils.handlers.properties.DatePropertyHandler
 
DbUtils - Class in org.apache.commons.dbutils
A collection of JDBC helper methods.
DbUtils() - Constructor for class org.apache.commons.dbutils.DbUtils
Default constructor.
deleteRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
DoubleColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
DoubleColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.DoubleColumnHandler
 
ds - Variable in class org.apache.commons.dbutils.AbstractQueryRunner
Deprecated.
Access to this field should be through AbstractQueryRunner.getDataSource().

E

execute(Connection, String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL statement, including a stored procedure call, which does not return any result sets.
execute(Connection, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL statement, including a stored procedure call, which returns one or more result sets.
execute(String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL statement, including a stored procedure call, which does not return any result sets.
execute(String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL statement, including a stored procedure call, which returns one or more result sets.

F

fetchDirection(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
 
fetchSize(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
 
fillStatement(PreparedStatement, Object...) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Fill the PreparedStatement replacement parameters with the given objects.
fillStatement(PreparedStatement, ParameterMetaData, Object...) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Fill the PreparedStatement replacement parameters with the given objects, and prefetched parameter metadata.
fillStatementWithBean(PreparedStatement, Object, PropertyDescriptor[]) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Fill the PreparedStatement replacement parameters with the given object's bean property values.
fillStatementWithBean(PreparedStatement, Object, String...) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Fill the PreparedStatement replacement parameters with the given object's bean property values.
findColumn(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
first() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
FloatColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
FloatColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.FloatColumnHandler
 

G

GenerousBeanProcessor - Class in org.apache.commons.dbutils
Provides generous name matching (e.g.
GenerousBeanProcessor() - Constructor for class org.apache.commons.dbutils.GenerousBeanProcessor
Default constructor.
getAdaptedResultSet() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
 
getArray(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getArray(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getAsciiStream(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getAsciiStream(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBigDecimal(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBigDecimal(int, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
Deprecated.
getBigDecimal(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBigDecimal(String, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
Deprecated.
getBinaryStream(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBinaryStream(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBlob(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBlob(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBoolean(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBoolean(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getByte(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getByte(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBytes(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getBytes(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getCharacterStream(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getCharacterStream(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getClob(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getClob(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getConcurrency() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getCursorName() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getDataSource() - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Returns the DataSource this runner is using.
getDate(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getDate(int, Calendar) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getDate(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getDate(String, Calendar) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getDouble(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getDouble(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getFetchDirection() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getFetchDirection() - Method in class org.apache.commons.dbutils.StatementConfiguration
Get the fetch direction.
getFetchSize() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getFetchSize() - Method in class org.apache.commons.dbutils.StatementConfiguration
Get the fetch size.
getFloat(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getFloat(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getHoldability() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getInt(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getInt(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getJavaType() - Method in class org.apache.commons.dbutils.OutParameter
Get the Java class for this OUT parameter.
getLong(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getLong(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getMaxFieldSize() - Method in class org.apache.commons.dbutils.StatementConfiguration
Get the max field size.
getMaxRows() - Method in class org.apache.commons.dbutils.StatementConfiguration
Get the max rows.
getMetaData() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getNCharacterStream(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getNCharacterStream(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getNClob(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getNClob(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getNString(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getNString(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getNullAsciiStream() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getAsciiStream method.
getNullBigDecimal() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getBigDecimal method.
getNullBinaryStream() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getBinaryStream method.
getNullBlob() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getBlob method.
getNullBoolean() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getBoolean method.
getNullByte() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getByte method.
getNullBytes() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getBytes method.
getNullCharacterStream() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getCharacterStream method.
getNullClob() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getClob method.
getNullDate() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getDate method.
getNullDouble() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getDouble method.
getNullFloat() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getFloat method.
getNullInt() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getInt method.
getNullLong() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getLong method.
getNullObject() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getObject method.
getNullRef() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getRef method.
getNullShort() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getShort method.
getNullString() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getString method.
getNullTime() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getTime method.
getNullTimestamp() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getTimestamp method.
getNullURL() - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Returns the value when a SQL null is encountered as the result of invoking a getURL method.
getObject(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getObject(int, Map<String, Class<?>>) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getObject(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getObject(String, Map<String, Class<?>>) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getParameterMetaData(PreparedStatement) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Get the ParameterMetaData of the prepared statement, if the pmdKnownBroken is set to false.
getQueryTimeout() - Method in class org.apache.commons.dbutils.StatementConfiguration
getQueryTimeoutDuration() - Method in class org.apache.commons.dbutils.StatementConfiguration
Get the query timeout.
getRef(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getRef(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getRowId(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getRowId(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getShort(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getShort(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getSqlType() - Method in class org.apache.commons.dbutils.OutParameter
Get the JDBC SQL type for this OUT parameter.
getSQLXML(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getSQLXML(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getStatement() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getString(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getString(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTime(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTime(int, Calendar) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTime(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTime(String, Calendar) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTimestamp(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTimestamp(int, Calendar) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTimestamp(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getTimestamp(String, Calendar) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getType() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getUnicodeStream(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
Deprecated.
getUnicodeStream(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
Deprecated.
getURL(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getURL(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getValue() - Method in class org.apache.commons.dbutils.OutParameter
Get the value of the OUT parameter.
getWarnings() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
getWriteMethod(Object, PropertyDescriptor, Object) - Method in class org.apache.commons.dbutils.BeanProcessor
Get the write method to use when setting value to the target.

H

handle() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
Turn the ResultSet into an Object.
handle(ResultSet) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
Turn the ResultSet into an Object.
handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.AbstractKeyedHandler
Convert each row's columns into a Map and store then in a Map under ResultSet.getObject(key) key.
handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.AbstractListHandler
Whole ResultSet handler.
handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.ArrayHandler
Places the column values from the first row in an Object[].
handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.BeanHandler
Convert the first row of the ResultSet into a bean with the Class given in the constructor.
handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.BeanListHandler
Convert the whole ResultSet into a List of beans with the Class given in the constructor.
handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.MapHandler
Converts the first row in the ResultSet into a Map.
handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.ScalarHandler
Returns one ResultSet column as an object via the ResultSet.getObject() method that performs type conversions.
handle(ResultSet) - Method in interface org.apache.commons.dbutils.ResultSetHandler
Turn the ResultSet into an Object.
handleRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.AbstractListHandler
Row handler.
handleRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.ArrayListHandler
Convert row's columns into an Object[].
handleRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.ColumnListHandler
Returns one ResultSet column value as Object.
handleRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.MapListHandler
Converts the ResultSet row into a Map object.
hasNext() - Method in class org.apache.commons.dbutils.ResultSetIterator
Returns true if there are more rows in the ResultSet.

I

insert(Connection, String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
insert(Connection, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
insert(String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
insert(String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
insert(Connection, String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL INSERT query without replacement parameters.
insert(Connection, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL INSERT query.
insert(String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given INSERT SQL without any replacement parameters.
insert(String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given INSERT SQL statement.
insertBatch(Connection, String, ResultSetHandler<T>, Object[][]) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
insertBatch(String, ResultSetHandler<T>, Object[][]) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
insertBatch(Connection, String, ResultSetHandler<T>, Object[][]) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given batch of INSERT SQL statements.
insertBatch(String, ResultSetHandler<T>, Object[][]) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given batch of INSERT SQL statements.
insertRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
instance() - Static method in class org.apache.commons.dbutils.BasicRowProcessor
Deprecated.
Create instances with the constructors instead. This will be removed after DbUtils 1.1.
instance() - Static method in class org.apache.commons.dbutils.ProxyFactory
Returns the Singleton instance of this class.
instance() - Static method in class org.apache.commons.dbutils.QueryLoader
Return an INSTANCE of this class.
IntegerColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
IntegerColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.IntegerColumnHandler
 
invoke(Object, Method, Object[]) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Intercepts calls to get* methods and calls the appropriate getNull* method if the ResultSet returned null.
invoke(Object, Method, Object[]) - Method in class org.apache.commons.dbutils.wrappers.StringTrimmedResultSet
Intercept calls to the getString() and getObject() methods and trim any Strings before they're returned.
isAfterLast() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
isBeforeFirst() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
isClosed() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
isFetchDirectionSet() - Method in class org.apache.commons.dbutils.StatementConfiguration
Whether fetch direction is set.
isFetchSizeSet() - Method in class org.apache.commons.dbutils.StatementConfiguration
Whether fetch size is set.
isFirst() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
isLast() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
isMaxFieldSizeSet() - Method in class org.apache.commons.dbutils.StatementConfiguration
Whether max field size is set.
isMaxRowsSet() - Method in class org.apache.commons.dbutils.StatementConfiguration
Whether max rows is set.
isPmdKnownBroken() - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Some drivers don't support ParameterMetaData.getParameterType(int); if pmdKnownBroken is set to true, we won't even try it; if false, we'll try it, and if it breaks, we'll remember not to use it again.
isQueryTimeoutSet() - Method in class org.apache.commons.dbutils.StatementConfiguration
Whether query timeout is set.
isWrapperFor(Class<?>) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
iterable(ResultSet) - Static method in class org.apache.commons.dbutils.ResultSetIterator
Generates an Iterable, suitable for use in for-each loops.

K

KeyedHandler<K> - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that returns a Map of Maps.
KeyedHandler() - Constructor for class org.apache.commons.dbutils.handlers.KeyedHandler
Creates a new instance of KeyedHandler.
KeyedHandler(int) - Constructor for class org.apache.commons.dbutils.handlers.KeyedHandler
Creates a new instance of KeyedHandler.
KeyedHandler(RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.KeyedHandler
Creates a new instance of KeyedHandler.
KeyedHandler(String) - Constructor for class org.apache.commons.dbutils.handlers.KeyedHandler
Creates a new instance of KeyedHandler.

L

last() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
load(String) - Method in class org.apache.commons.dbutils.QueryLoader
Loads a Map of query names to SQL values.
loadDriver(ClassLoader, String) - Static method in class org.apache.commons.dbutils.DbUtils
Loads and registers a database driver class.
loadDriver(String) - Static method in class org.apache.commons.dbutils.DbUtils
Loads and registers a database driver class.
loadQueries(String) - Method in class org.apache.commons.dbutils.QueryLoader
Loads a set of named queries into a Map object.
LongColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
LongColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.LongColumnHandler
 

M

mapColumnsToProperties(ResultSetMetaData, PropertyDescriptor[]) - Method in class org.apache.commons.dbutils.BeanProcessor
The positions in the returned array represent column numbers.
mapColumnsToProperties(ResultSetMetaData, PropertyDescriptor[]) - Method in class org.apache.commons.dbutils.GenerousBeanProcessor
 
MapHandler - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts the first ResultSet row into a Map.
MapHandler() - Constructor for class org.apache.commons.dbutils.handlers.MapHandler
Creates a new instance of MapHandler using a BasicRowProcessor for conversion.
MapHandler(RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.MapHandler
Creates a new instance of MapHandler.
MapListHandler - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts a ResultSet into a List of Maps.
MapListHandler() - Constructor for class org.apache.commons.dbutils.handlers.MapListHandler
Creates a new instance of MapListHandler using a BasicRowProcessor for conversion.
MapListHandler(RowProcessor) - Constructor for class org.apache.commons.dbutils.handlers.MapListHandler
Creates a new instance of MapListHandler.
match(Class<?>) - Method in interface org.apache.commons.dbutils.ColumnHandler
Tests whether to handle a column targeted for a value type matching propType.
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.BooleanColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.ByteColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.DoubleColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.FloatColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.IntegerColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.LongColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.ShortColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.SQLXMLColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.StringColumnHandler
 
match(Class<?>) - Method in class org.apache.commons.dbutils.handlers.columns.TimestampColumnHandler
 
match(Class<?>, Object) - Method in class org.apache.commons.dbutils.handlers.properties.DatePropertyHandler
 
match(Class<?>, Object) - Method in class org.apache.commons.dbutils.handlers.properties.StringEnumPropertyHandler
 
match(Class<?>, Object) - Method in interface org.apache.commons.dbutils.PropertyHandler
Tests whether to handle setting value into an instance of parameter.
maxFieldSize(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
 
maxRows(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
 
moveToCurrentRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
moveToInsertRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler

N

newInstance(Class<T>) - Method in class org.apache.commons.dbutils.BeanProcessor
Factory method that returns a new instance of the given Class.
newProxyInstance(Class<T>, InvocationHandler) - Method in class org.apache.commons.dbutils.ProxyFactory
Convenience method to generate a single-interface proxy using the handler's classloader
next() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
next() - Method in class org.apache.commons.dbutils.ResultSetIterator
Returns the next row as an Object[].

O

org.apache.commons.dbutils - package org.apache.commons.dbutils
DbUtils is a small set of classes designed to make working with JDBC easier.
org.apache.commons.dbutils.handlers - package org.apache.commons.dbutils.handlers
Implementations of the org.apache.commons.dbutils.ResultSetHandler interface.
org.apache.commons.dbutils.handlers.columns - package org.apache.commons.dbutils.handlers.columns
Implementations of the org.apache.commons.dbutils.ColumnHandler interface.
org.apache.commons.dbutils.handlers.properties - package org.apache.commons.dbutils.handlers.properties
Implementations of the org.apache.commons.dbutils.PropertyHandler interface.
org.apache.commons.dbutils.wrappers - package org.apache.commons.dbutils.wrappers
Wrappers that add functionality to java.sql classes.
OutParameter<T> - Class in org.apache.commons.dbutils
Represents an OUT parameter for a stored procedure.
OutParameter(int, Class<T>) - Constructor for class org.apache.commons.dbutils.OutParameter
Construct an OutParameter for the given JDBC SQL type and Java type.
OutParameter(int, Class<T>, T) - Constructor for class org.apache.commons.dbutils.OutParameter
Construct an OutParameter for the given JDBC SQL type and Java type and with the given value.

P

populateBean(ResultSet, T) - Method in class org.apache.commons.dbutils.BeanProcessor
Initializes the fields of the provided bean from the ResultSet.
prepareCall(Connection, String) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Factory method that creates and initializes a CallableStatement object for the given SQL.
prepareConnection() - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Factory method that creates and initializes a Connection object.
prepareStatement(Connection, String) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Factory method that creates and initializes a PreparedStatement object for the given SQL.
prepareStatement(Connection, String, int) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Factory method that creates and initializes a PreparedStatement object for the given SQL.
previous() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
printStackTrace(SQLException) - Static method in class org.apache.commons.dbutils.DbUtils
Print the stack trace for a SQLException to STDERR.
printStackTrace(SQLException, PrintWriter) - Static method in class org.apache.commons.dbutils.DbUtils
Print the stack trace for a SQLException to a specified PrintWriter.
printWarnings(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Print warnings on a Connection to STDERR.
printWarnings(Connection, PrintWriter) - Static method in class org.apache.commons.dbutils.DbUtils
Print warnings on a Connection to a specified PrintWriter.
processColumn(ResultSet, int, Class<?>) - Method in class org.apache.commons.dbutils.BeanProcessor
Convert a ResultSet column into an object.
PROPERTY_NOT_FOUND - Static variable in class org.apache.commons.dbutils.BeanProcessor
Special array value used by mapColumnsToProperties that indicates there is no bean property that matches a column from a ResultSet.
PropertyHandler - Interface in org.apache.commons.dbutils
Defines how to handle properties when constructing a bean from a ResultSet.
ProxyFactory - Class in org.apache.commons.dbutils
Creates proxy implementations of JDBC interfaces.
ProxyFactory() - Constructor for class org.apache.commons.dbutils.ProxyFactory
Protected constructor for ProxyFactory subclasses to use.

Q

query(Connection, String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Execute an SQL SELECT query without any replacement parameters.
query(Connection, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Execute an SQL SELECT query with replacement parameters.
query(String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Executes the given SELECT SQL without any replacement parameters.
query(String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Executes the given SELECT SQL query and returns a result object.
query(Connection, String, Object, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
query(Connection, String, Object[], ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
query(Connection, String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL SELECT query without any replacement parameters.
query(Connection, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL SELECT query with replacement parameters.
query(String, Object, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
query(String, Object[], ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
query(String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given SELECT SQL without any replacement parameters.
query(String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given SELECT SQL query and returns a result object.
QueryCallableStatement(Connection, boolean, PreparedStatement, ResultSetHandler<T>, String, Object...) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
Creates a new QueryCallableStatement instance.
QueryLoader - Class in org.apache.commons.dbutils
QueryLoader is a registry for sets of queries so that multiple copies of the same queries aren't loaded into memory.
QueryLoader() - Constructor for class org.apache.commons.dbutils.QueryLoader
QueryLoader constructor.
QueryRunner - Class in org.apache.commons.dbutils
Executes SQL queries with pluggable strategies for handling ResultSets.
QueryRunner() - Constructor for class org.apache.commons.dbutils.QueryRunner
Constructor for QueryRunner.
QueryRunner(boolean) - Constructor for class org.apache.commons.dbutils.QueryRunner
Constructor for QueryRunner that controls the use of ParameterMetaData.
QueryRunner(DataSource) - Constructor for class org.apache.commons.dbutils.QueryRunner
Constructor for QueryRunner that takes a DataSource to use.
QueryRunner(DataSource, boolean) - Constructor for class org.apache.commons.dbutils.QueryRunner
Constructor for QueryRunner that takes a DataSource and controls the use of ParameterMetaData.
QueryRunner(DataSource, boolean, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.QueryRunner
Constructor for QueryRunner that takes a DataSource, a StatementConfiguration, and controls the use of ParameterMetaData.
QueryRunner(DataSource, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.QueryRunner
Constructor for QueryRunner that takes a DataSource to use and a StatementConfiguration.
QueryRunner(StatementConfiguration) - Constructor for class org.apache.commons.dbutils.QueryRunner
Constructor for QueryRunner that takes a StatementConfiguration to configure statements when preparing them.
queryTimeout(Duration) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
 
queryTimeout(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder

R

refreshRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
relative(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
remove() - Method in class org.apache.commons.dbutils.ResultSetIterator
Deletes the current row from the ResultSet.
ResultSetHandler<T> - Interface in org.apache.commons.dbutils
Implementations of this interface convert ResultSets into other objects.
ResultSetIterator - Class in org.apache.commons.dbutils
Wraps a ResultSet in an Iterator&lt;Object[]&gt;.
ResultSetIterator(ResultSet) - Constructor for class org.apache.commons.dbutils.ResultSetIterator
Constructor for ResultSetIterator.
ResultSetIterator(ResultSet, RowProcessor) - Constructor for class org.apache.commons.dbutils.ResultSetIterator
Constructor for ResultSetIterator.
rethrow(SQLException, String, Object...) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Throws a new exception with a more informative error message.
rethrow(SQLException) - Method in class org.apache.commons.dbutils.ResultSetIterator
Rethrow the SQLException as a RuntimeException.
rollback(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Rollback any changes made on the given connection.
rollbackAndClose(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Performs a rollback on the Connection then closes it, avoid closing if null.
rollbackAndCloseQuietly(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Performs a rollback on the Connection then closes it, avoid closing if null and hide any SQLExceptions that occur.
rollbackQuietly(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
Performs a rollback on the Connection, avoid closing if null and hide any SQLExceptions that occur.
rowDeleted() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
rowInserted() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
RowProcessor - Interface in org.apache.commons.dbutils
RowProcessor implementations convert ResultSet rows into various other objects.
rowUpdated() - Method in class org.apache.commons.dbutils.BaseResultSetHandler

S

ScalarHandler<T> - Class in org.apache.commons.dbutils.handlers
ResultSetHandler implementation that converts one ResultSet column into an Object.
ScalarHandler() - Constructor for class org.apache.commons.dbutils.handlers.ScalarHandler
Creates a new instance of ScalarHandler.
ScalarHandler(int) - Constructor for class org.apache.commons.dbutils.handlers.ScalarHandler
Creates a new instance of ScalarHandler.
ScalarHandler(String) - Constructor for class org.apache.commons.dbutils.handlers.ScalarHandler
Creates a new instance of ScalarHandler.
setFetchDirection(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
setFetchSize(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
setNullAsciiStream(InputStream) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getAsciiStream method.
setNullBigDecimal(BigDecimal) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getBigDecimal method.
setNullBinaryStream(InputStream) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getBinaryStream method.
setNullBlob(Blob) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getBlob method.
setNullBoolean(boolean) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getBoolean method.
setNullByte(byte) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getByte method.
setNullBytes(byte[]) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getBytes method.
setNullCharacterStream(Reader) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getCharacterStream method.
setNullClob(Clob) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getClob method.
setNullDate(Date) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getDate method.
setNullDouble(double) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getDouble method.
setNullFloat(float) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getFloat method.
setNullInt(int) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getInt method.
setNullLong(long) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getLong method.
setNullObject(Object) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getObject method.
setNullRef(Ref) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getRef method.
setNullShort(short) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getShort method.
setNullString(String) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getString method.
setNullTime(Time) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getTime method.
setNullTimestamp(Timestamp) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getTimestamp method.
setNullURL(URL) - Method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Sets the value to return when a SQL null is encountered as the result of invoking a getURL method.
setValue(T) - Method in class org.apache.commons.dbutils.OutParameter
Set the value of the OUT parameter.
ShortColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
ShortColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.ShortColumnHandler
 
SqlNullCheckedResultSet - Class in org.apache.commons.dbutils.wrappers
Decorates a ResultSet with checks for a SQL NULL value on each getXXX method.
SqlNullCheckedResultSet(ResultSet) - Constructor for class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Constructs a new instance of SqlNullCheckedResultSet to wrap the specified ResultSet.
SQLXMLColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
SQLXMLColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.SQLXMLColumnHandler
 
StatementConfiguration - Class in org.apache.commons.dbutils
Configuration options for a Statement when preparing statements in QueryRunner.
StatementConfiguration(Integer, Integer, Integer, Integer, Duration) - Constructor for class org.apache.commons.dbutils.StatementConfiguration
Constructor for StatementConfiguration.
StatementConfiguration(Integer, Integer, Integer, Integer, Integer) - Constructor for class org.apache.commons.dbutils.StatementConfiguration
StatementConfiguration.Builder - Class in org.apache.commons.dbutils
Builder class for StatementConfiguration for more flexible construction.
StringColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
StringColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.StringColumnHandler
 
StringEnumPropertyHandler - Class in org.apache.commons.dbutils.handlers.properties
PropertyHandler for enums.
StringEnumPropertyHandler() - Constructor for class org.apache.commons.dbutils.handlers.properties.StringEnumPropertyHandler
 
StringTrimmedResultSet - Class in org.apache.commons.dbutils.wrappers
Wraps a ResultSet to trim strings returned by the getString() and getObject() methods.
StringTrimmedResultSet(ResultSet) - Constructor for class org.apache.commons.dbutils.wrappers.StringTrimmedResultSet
Constructs a new instance of StringTrimmedResultSet to wrap the specified ResultSet.

T

TimestampColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
 
TimestampColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.TimestampColumnHandler
 
toArray(ResultSet) - Method in class org.apache.commons.dbutils.BasicRowProcessor
Convert a ResultSet row into an Object[].
toArray(ResultSet) - Method in interface org.apache.commons.dbutils.RowProcessor
Create an Object[] from the column values in one ResultSet row.
toBean(ResultSet, Class<? extends T>) - Method in class org.apache.commons.dbutils.BasicRowProcessor
Convert a ResultSet row into a JavaBean.
toBean(ResultSet, Class<? extends T>) - Method in class org.apache.commons.dbutils.BeanProcessor
Convert a ResultSet row into a JavaBean.
toBean(ResultSet, Class<? extends T>) - Method in interface org.apache.commons.dbutils.RowProcessor
Create a JavaBean from the column values in one ResultSet row.
toBeanList(ResultSet, Class<? extends T>) - Method in class org.apache.commons.dbutils.BasicRowProcessor
Convert a ResultSet into a List of JavaBeans.
toBeanList(ResultSet, Class<? extends T>) - Method in class org.apache.commons.dbutils.BeanProcessor
Convert a ResultSet into a List of JavaBeans.
toBeanList(ResultSet, Class<? extends T>) - Method in interface org.apache.commons.dbutils.RowProcessor
Create a List of JavaBeans from the column values in all ResultSet rows.
toMap(ResultSet) - Method in class org.apache.commons.dbutils.BasicRowProcessor
Convert a ResultSet row into a Map.
toMap(ResultSet) - Method in interface org.apache.commons.dbutils.RowProcessor
Create a Map from the column values in one ResultSet row.
toString() - Method in class org.apache.commons.dbutils.OutParameter
 

U

unload(String) - Method in class org.apache.commons.dbutils.QueryLoader
Removes the queries for the given path from the cache.
unwrap(Class<E>) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
update(Connection, String) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Execute an SQL INSERT, UPDATE, or DELETE query without replacement parameters.
update(Connection, String, Object) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Execute an SQL INSERT, UPDATE, or DELETE query with a single replacement parameter.
update(Connection, String, Object...) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Execute an SQL INSERT, UPDATE, or DELETE query.
update(String) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Executes the given INSERT, UPDATE, or DELETE SQL statement without any replacement parameters.
update(String, Object) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Executes the given INSERT, UPDATE, or DELETE SQL statement with a single replacement parameter.
update(String, Object...) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
Executes the given INSERT, UPDATE, or DELETE SQL statement.
update(Connection, String) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL INSERT, UPDATE, or DELETE query without replacement parameters.
update(Connection, String, Object) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL INSERT, UPDATE, or DELETE query with a single replacement parameter.
update(Connection, String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Execute an SQL INSERT, UPDATE, or DELETE query.
update(String) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given INSERT, UPDATE, or DELETE SQL statement without any replacement parameters.
update(String, Object) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given INSERT, UPDATE, or DELETE SQL statement with a single replacement parameter.
update(String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
Executes the given INSERT, UPDATE, or DELETE SQL statement.
updateArray(int, Array) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateArray(String, Array) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateAsciiStream(int, InputStream) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateAsciiStream(int, InputStream, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateAsciiStream(int, InputStream, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateAsciiStream(String, InputStream) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateAsciiStream(String, InputStream, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateAsciiStream(String, InputStream, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBigDecimal(int, BigDecimal) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBigDecimal(String, BigDecimal) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBinaryStream(int, InputStream) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBinaryStream(int, InputStream, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBinaryStream(int, InputStream, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBinaryStream(String, InputStream) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBinaryStream(String, InputStream, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBinaryStream(String, InputStream, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBlob(int, Blob) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBlob(int, InputStream) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBlob(int, InputStream, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBlob(String, Blob) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBlob(String, InputStream) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBlob(String, InputStream, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBoolean(int, boolean) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBoolean(String, boolean) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateByte(int, byte) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateByte(String, byte) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBytes(int, byte[]) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateBytes(String, byte[]) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
UpdateCallableStatement(Connection, boolean, PreparedStatement, String, Object...) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
Deprecated.
 
updateCharacterStream(int, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateCharacterStream(int, Reader, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateCharacterStream(int, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateCharacterStream(String, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateCharacterStream(String, Reader, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateClob(int, Clob) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateClob(int, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateClob(int, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateClob(String, Clob) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateClob(String, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateClob(String, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateDate(int, Date) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateDate(String, Date) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateDouble(int, double) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateDouble(String, double) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateFloat(int, float) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateFloat(String, float) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateInt(int, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateInt(String, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateLong(int, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateLong(String, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNCharacterStream(int, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNCharacterStream(int, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNCharacterStream(String, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNClob(int, NClob) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNClob(int, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNClob(int, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNClob(String, NClob) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNClob(String, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNClob(String, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNString(int, String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNString(String, String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNull(int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateNull(String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateObject(int, Object) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateObject(int, Object, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateObject(String, Object) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateObject(String, Object, int) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateRef(int, Ref) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateRef(String, Ref) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateRowId(int, RowId) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateRowId(String, RowId) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateShort(int, short) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateShort(String, short) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateSQLXML(int, SQLXML) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateSQLXML(String, SQLXML) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateString(int, String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateString(String, String) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateTime(int, Time) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateTime(String, Time) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateTimestamp(int, Timestamp) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
updateTimestamp(String, Timestamp) - Method in class org.apache.commons.dbutils.BaseResultSetHandler

W

wasNull() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
wrap(ResultSet) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
Wrap the ResultSet in a decorator before processing it.
wrap(ResultSet) - Static method in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
Wraps the ResultSet in an instance of this class.
wrap(ResultSet) - Static method in class org.apache.commons.dbutils.wrappers.StringTrimmedResultSet
Wraps the ResultSet in an instance of this class.
A B C D E F G H I K L M N O P Q R S T U W 
Skip navigation links

Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.