Index
All Classes and Interfaces|All Packages|Constant Field Values
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 convertResultSet
intoList
. - 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 ofParameterMetaData
. - AbstractQueryRunner(DataSource, boolean, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
-
Constructor for QueryRunner that takes a
DataSource
, aStatementConfiguration
, and controls the use ofParameterMetaData
. - AbstractQueryRunner(DataSource, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
-
Constructor for QueryRunner that takes a
DataSource
to use and aStatementConfiguration
. - AbstractQueryRunner(StatementConfiguration) - Constructor for class org.apache.commons.dbutils.AbstractQueryRunner
-
Constructor for QueryRunner that takes a
StatementConfiguration
to configure statements when preparing them. - acceptsURL(String) - Method in class org.apache.commons.dbutils.DbUtils.DriverProxy
- adapted - Variable in class org.apache.commons.dbutils.DbUtils.DriverProxy
-
The adapted JDBC Driver loaded dynamically.
- afterLast() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- 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
-
Do the work required to store
value
into something of typeparameter
. - apply(ResultSet, int) - Method in interface org.apache.commons.dbutils.ColumnHandler
-
Do the work required to retrieve and store a column from
ResultSet
into something of typepropType
. - 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
- ArrayHandler - Class in org.apache.commons.dbutils.handlers
-
ResultSetHandler
implementation that converts aResultSet
into anObject[]
. - 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 theResultSet
into aList
ofObject[]
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
ResultSet
s. - AsyncQueryRunner(boolean, ExecutorService) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
-
Deprecated.
- 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(DataSource, boolean, ExecutorService) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
-
Deprecated.Use
AsyncQueryRunner(ExecutorService, QueryRunner)
instead. Constructor for AsyncQueryRunner that take aDataSource
and controls the use ofParameterMetaData
. Methods that do not take aConnection
parameter will retrieve connections from thisDataSource
. - AsyncQueryRunner(DataSource, ExecutorService) - Constructor for class org.apache.commons.dbutils.AsyncQueryRunner
-
Deprecated.Use
AsyncQueryRunner(ExecutorService, QueryRunner)
instead. Constructor for AsyncQueryRunner that takes aDataSource
. Methods that do not take aConnection
parameter will retrieve connections from thisDataSource
. - 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.
- BasicRowProcessor.CaseInsensitiveHashMap - Class in org.apache.commons.dbutils
-
A Map that converts all keys to lowercase Strings for case insensitive lookups.
- batch(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.QueryRunner
-
Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
- batch(Connection, boolean, String, Object[][]) - Method in class org.apache.commons.dbutils.QueryRunner
-
Calls update after checking the parameters to ensure nothing is null.
- batch(Connection, 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.
- 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 firstResultSet
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 aResultSet
into aList
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>, String) - 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>, RowProcessor, int, String) - Constructor for class org.apache.commons.dbutils.handlers.BeanMapHandler
-
Private Helper
- BeanProcessor - Class in org.apache.commons.dbutils
-
BeanProcessor
matches column names to bean property names and convertsResultSet
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. - callSetter(Object, PropertyDescriptor, Object) - Method in class org.apache.commons.dbutils.BeanProcessor
-
Calls the setter method on the target object for the given property.
- cancelRowUpdates() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- CaseInsensitiveHashMap(int) - Constructor for class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
- clearWarnings() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- close() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- close(Connection) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
-
Close a
Connection
. - close(Connection) - Static method in class org.apache.commons.dbutils.DbUtils
-
Close a
Connection
, avoid closing if null. - close(ResultSet) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
-
Close a
ResultSet
. - close(ResultSet) - Static method in class org.apache.commons.dbutils.DbUtils
-
Close a
ResultSet
, avoid closing if null. - close(Statement) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
-
Close a
Statement
. - close(Statement) - Static method in class org.apache.commons.dbutils.DbUtils
-
Close a
Statement
, avoid closing if null. - closeConn - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.BatchCallableStatement
-
Deprecated.
- closeConn - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
- closeConn - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
-
Deprecated.
- closeQuietly(Connection) - 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
andResultSet
. - closeQuietly(ResultSet) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
- 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) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
- 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.annotations
-
Annotation for BeanProcessor to receive hints of the field name rather than dissecting the method name.
- ColumnHandler - Interface in org.apache.commons.dbutils
-
Interface to define how implementations can interact with column handling when constructing a bean from a
ResultSet
. - columnHandlers - Static variable in class org.apache.commons.dbutils.BeanProcessor
- columnIndex - Variable in class org.apache.commons.dbutils.handlers.BeanMapHandler
-
The column index to retrieve key values from.
- columnIndex - Variable in class org.apache.commons.dbutils.handlers.ColumnListHandler
-
The column number to retrieve.
- columnIndex - Variable in class org.apache.commons.dbutils.handlers.KeyedHandler
-
The column index to retrieve key values from.
- columnIndex - Variable in class org.apache.commons.dbutils.handlers.ScalarHandler
-
The column number to retrieve.
- ColumnListHandler<T> - Class in org.apache.commons.dbutils.handlers
-
ResultSetHandler
implementation that converts oneResultSet
column into aList
ofObject
s. - 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(int, String) - Constructor for class org.apache.commons.dbutils.handlers.ColumnListHandler
-
Private Helper
- 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.BeanMapHandler
-
The column name to retrieve key values from.
- columnName - Variable in class org.apache.commons.dbutils.handlers.ColumnListHandler
-
The column name to retrieve.
- columnName - Variable in class org.apache.commons.dbutils.handlers.KeyedHandler
-
The column name to retrieve key values from.
- columnName - Variable in class org.apache.commons.dbutils.handlers.ScalarHandler
-
The column name to retrieve.
- columnToPropertyOverrides - Variable in class org.apache.commons.dbutils.BeanProcessor
-
ResultSet column to bean property name overrides.
- 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. - configureStatement(Statement) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
- conn - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.BatchCallableStatement
-
Deprecated.
- conn - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
- conn - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
-
Deprecated.
- connect(String, Properties) - Method in class org.apache.commons.dbutils.DbUtils.DriverProxy
- containsKey(Object) - Method in class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
- convert - Variable in class org.apache.commons.dbutils.BasicRowProcessor
-
Use this to process beans.
- convert - Variable in class org.apache.commons.dbutils.handlers.ArrayHandler
-
The RowProcessor implementation to use when converting rows into arrays.
- convert - Variable in class org.apache.commons.dbutils.handlers.ArrayListHandler
-
The RowProcessor implementation to use when converting rows into Object[]s.
- convert - Variable in class org.apache.commons.dbutils.handlers.BeanHandler
-
The RowProcessor implementation to use when converting rows into beans.
- convert - Variable in class org.apache.commons.dbutils.handlers.BeanListHandler
-
The RowProcessor implementation to use when converting rows into beans.
- convert - Variable in class org.apache.commons.dbutils.handlers.BeanMapHandler
-
The RowProcessor implementation to use when converting rows into Objects.
- convert - Variable in class org.apache.commons.dbutils.handlers.KeyedHandler
-
The RowProcessor implementation to use when converting rows into Objects.
- convert - Variable in class org.apache.commons.dbutils.handlers.MapHandler
-
The RowProcessor implementation to use when converting rows into Maps.
- convert - Variable in class org.apache.commons.dbutils.handlers.MapListHandler
-
The RowProcessor implementation to use when converting rows into Maps.
- convert - Variable in class org.apache.commons.dbutils.ResultSetIterator
-
The processor to use when converting a row into an Object[].
- createBean(ResultSet, Class<T>, PropertyDescriptor[], int[]) - Method in class org.apache.commons.dbutils.BeanProcessor
-
Creates a new object and initializes its fields from the ResultSet.
- 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 currentResultSet
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 currentResultSet
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 currentResultSet
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 currentResultSet
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 currentResultSet
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.
- DbUtils.DriverProxy - Class in org.apache.commons.dbutils
-
Simple
Driver
proxy class that proxies a JDBC Driver loaded dynamically. - defaultConvert - Static variable in class org.apache.commons.dbutils.BasicRowProcessor
-
The default BeanProcessor instance to use if not supplied in the constructor.
- deleteRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- dotXml - Static variable in class org.apache.commons.dbutils.QueryLoader
-
Matches .xml file extensions.
- DoubleColumnHandler - Class in org.apache.commons.dbutils.handlers.columns
- DoubleColumnHandler() - Constructor for class org.apache.commons.dbutils.handlers.columns.DoubleColumnHandler
- DriverProxy(Driver) - Constructor for class org.apache.commons.dbutils.DbUtils.DriverProxy
-
Creates a new JDBC Driver that adapts a JDBC Driver loaded dynamically.
- ds - Variable in class org.apache.commons.dbutils.AbstractQueryRunner
-
Deprecated.Access to this field should be through
AbstractQueryRunner.getDataSource()
.
E
- EMPTY_ARRAY - Static variable in class org.apache.commons.dbutils.handlers.ArrayHandler
-
An empty array to return when no more rows are available in the ResultSet.
- 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.
- execute(Connection, boolean, String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Invokes the stored procedure via update after checking the parameters to ensure nothing is null.
- execute(Connection, boolean, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Invokes the stored procedure via update after checking the parameters to ensure nothing is null.
- 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.
- executorService - Variable in class org.apache.commons.dbutils.AsyncQueryRunner
F
- factory - Static variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
-
The factory to create proxies with.
- factory - Static variable in class org.apache.commons.dbutils.wrappers.StringTrimmedResultSet
-
The factory to create proxies with.
- fetchDirection - Variable in class org.apache.commons.dbutils.StatementConfiguration.Builder
- fetchDirection - Variable in class org.apache.commons.dbutils.StatementConfiguration
- fetchDirection(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
- fetchSize - Variable in class org.apache.commons.dbutils.StatementConfiguration.Builder
- fetchSize - Variable in class org.apache.commons.dbutils.StatementConfiguration
- 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. - 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.
- get(Object) - Method in class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
- GET_NULL_PREFIX - Static variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
-
The
getNull
string prefix. - 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
- getMajorVersion() - Method in class org.apache.commons.dbutils.DbUtils.DriverProxy
- 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
- getMinorVersion() - Method in class org.apache.commons.dbutils.DbUtils.DriverProxy
- 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
- getParentLogger() - Method in class org.apache.commons.dbutils.DbUtils.DriverProxy
-
Java 1.7 method.
- getPropertyInfo(String, Properties) - Method in class org.apache.commons.dbutils.DbUtils.DriverProxy
- getQueryTimeout() - 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 thetarget
.
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
underResultSet.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 theClass
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 theClass
given in the constructor. - handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.MapHandler
-
Converts the first row in the
ResultSet
into aMap
. - handle(ResultSet) - Method in class org.apache.commons.dbutils.handlers.ScalarHandler
-
Returns one
ResultSet
column as an object via theResultSet.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 asObject
. - handleRow(ResultSet) - Method in class org.apache.commons.dbutils.handlers.MapListHandler
-
Converts the
ResultSet
row into aMap
object. - hasNext() - Method in class org.apache.commons.dbutils.ResultSetIterator
-
Returns true if there are more rows in the ResultSet.
I
- insert(String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
-
Executes
QueryRunner.insert(String, ResultSetHandler)
asynchronously. - 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.AsyncQueryRunner
-
Executes
QueryRunner.insert(String, ResultSetHandler, Object...)
asynchronously. - insert(String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Executes the given INSERT SQL statement.
- insert(Connection, boolean, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Executes the given INSERT SQL statement.
- insert(Connection, String, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
-
Executes
QueryRunner.insert(Connection, String, ResultSetHandler)
asynchronously. - 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.AsyncQueryRunner
-
Executes
QueryRunner.insert(Connection, String, ResultSetHandler, Object...)
asynchronously. - insert(Connection, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Execute an SQL INSERT query.
- insertBatch(String, ResultSetHandler<T>, Object[][]) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
-
QueryRunner.insertBatch(String, ResultSetHandler, Object[][])
asynchronously. - insertBatch(String, ResultSetHandler<T>, Object[][]) - Method in class org.apache.commons.dbutils.QueryRunner
-
Executes the given batch of INSERT SQL statements.
- insertBatch(Connection, boolean, String, ResultSetHandler<T>, Object[][]) - Method in class org.apache.commons.dbutils.QueryRunner
-
Executes the given batch of INSERT SQL statements.
- insertBatch(Connection, 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.
- insertRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- instance - Static variable in class org.apache.commons.dbutils.BasicRowProcessor
-
The Singleton instance of this class.
- instance - Static variable in class org.apache.commons.dbutils.ProxyFactory
-
The Singleton instance of this class.
- instance - Static variable in class org.apache.commons.dbutils.QueryLoader
-
The Singleton instance of this class.
- 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 appropriategetNull*
method if theResultSet
returnednull
. - invoke(Object, Method, Object[]) - Method in class org.apache.commons.dbutils.wrappers.StringTrimmedResultSet
-
Intercept calls to the
getString()
andgetObject()
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
- isCompatibleType(Object, Class<?>) - Method in class org.apache.commons.dbutils.BeanProcessor
-
ResultSet.getObject() returns an Integer object for an INT column.
- 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)
; ifpmdKnownBroken
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.
J
- javaType - Variable in class org.apache.commons.dbutils.OutParameter
- jdbcCompliant() - Method in class org.apache.commons.dbutils.DbUtils.DriverProxy
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(String) - 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(RowProcessor, int, String) - Constructor for class org.apache.commons.dbutils.handlers.KeyedHandler
-
Private Helper
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
- lowerCaseMap - Variable in class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
-
The internal mapping from lowercase keys to the real keys.
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 firstResultSet
row into aMap
. - 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 aResultSet
into aList
ofMap
s. - 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
-
Test whether this
ColumnHandler
wants to handle a column targeted for a value type matchingpropType
. - 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
-
Test whether this
PropertyHandler
wants to handle settingvalue
into something of typeparameter
. - matchesPrimitive(Class<?>, Class<?>) - Method in class org.apache.commons.dbutils.BeanProcessor
-
Check whether a value is of the same primitive type as
targetType
. - maxFieldSize - Variable in class org.apache.commons.dbutils.StatementConfiguration.Builder
- maxFieldSize - Variable in class org.apache.commons.dbutils.StatementConfiguration
- maxFieldSize(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
- maxRows - Variable in class org.apache.commons.dbutils.StatementConfiguration.Builder
- maxRows - Variable in class org.apache.commons.dbutils.StatementConfiguration
- 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
- name() - Element in annotation type org.apache.commons.dbutils.annotations.Column
- 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[]
. - nullAsciiStream - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullBigDecimal - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullBinaryStream - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullBlob - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullBoolean - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullByte - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullBytes - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullCharacterStream - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullClob - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullDate - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullDouble - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullFloat - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullInt - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullLong - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullMethods - Static variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
-
Maps normal method names (ie.
- nullObject - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullRef - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullShort - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullString - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullTime - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullTimestamp - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
- nullURL - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
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.annotations - package org.apache.commons.dbutils.annotations
-
Annotations used in DbUtils
- 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
- params - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.BatchCallableStatement
-
Deprecated.
- params - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
- params - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
-
Deprecated.
- parentLoggerSupported - Variable in class org.apache.commons.dbutils.DbUtils.DriverProxy
- pmdKnownBroken - Variable in class org.apache.commons.dbutils.AbstractQueryRunner
-
Is
ParameterMetaData.getParameterType(int)
broken (have we tried it yet)? - populateBean(ResultSet, T) - Method in class org.apache.commons.dbutils.BeanProcessor
-
Initializes the fields of the provided bean from the ResultSet.
- populateBean(ResultSet, T, PropertyDescriptor[], int[]) - Method in class org.apache.commons.dbutils.BeanProcessor
-
This method populates a bean from the ResultSet based upon the underlying meta-data.
- 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
- primitiveDefaults - Static variable in class org.apache.commons.dbutils.BeanProcessor
-
Set a bean's primitive properties to these defaults when SQL NULL is returned.
- 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 aResultSet
. - propertyDescriptors(Class<?>) - Method in class org.apache.commons.dbutils.BeanProcessor
-
Returns a PropertyDescriptor[] for the given Class.
- PropertyHandler - Interface in org.apache.commons.dbutils
-
Interface to define how implementations can interact with property handling when constructing a bean from a
ResultSet
. - propertyHandlers - Static variable in class org.apache.commons.dbutils.BeanProcessor
- 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.
- ps - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.BatchCallableStatement
-
Deprecated.
- ps - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
- ps - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
-
Deprecated.
- put(String, Object) - Method in class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
- putAll(Map<? extends String, ?>) - Method in class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
Q
- queries - Variable in class org.apache.commons.dbutils.QueryLoader
-
Maps query set names to Maps of their queries.
- query(String, Object[], ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
-
Deprecated.
- query(String, Object, ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
-
Deprecated.
- 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>) - 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.AsyncQueryRunner
-
Executes the given SELECT SQL query and returns a result object.
- query(String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Executes the given SELECT SQL query and returns a result object.
- query(Connection, boolean, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Calls query after checking the parameters to ensure nothing is null.
- query(Connection, String, Object[], ResultSetHandler<T>) - Method in class org.apache.commons.dbutils.QueryRunner
-
Deprecated.
- 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.AsyncQueryRunner
-
Execute an SQL SELECT query without any replacement parameters.
- 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.AsyncQueryRunner
-
Execute an SQL SELECT query with replacement parameters.
- query(Connection, String, ResultSetHandler<T>, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Execute an SQL SELECT query with replacement parameters.
- 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 - Variable in class org.apache.commons.dbutils.AsyncQueryRunner
- QueryRunner - Class in org.apache.commons.dbutils
-
Executes SQL queries with pluggable strategies for handling
ResultSet
s. - 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 ofParameterMetaData
. - QueryRunner(DataSource, boolean, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.QueryRunner
-
Constructor for QueryRunner that takes a
DataSource
, aStatementConfiguration
, and controls the use ofParameterMetaData
. - QueryRunner(DataSource, StatementConfiguration) - Constructor for class org.apache.commons.dbutils.QueryRunner
-
Constructor for QueryRunner that takes a
DataSource
to use and aStatementConfiguration
. - QueryRunner(StatementConfiguration) - Constructor for class org.apache.commons.dbutils.QueryRunner
-
Constructor for QueryRunner that takes a
StatementConfiguration
to configure statements when preparing them. - queryTimeout - Variable in class org.apache.commons.dbutils.StatementConfiguration.Builder
- queryTimeout - Variable in class org.apache.commons.dbutils.StatementConfiguration
- queryTimeout(Integer) - Method in class org.apache.commons.dbutils.StatementConfiguration.Builder
R
- refreshRow() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- register(CallableStatement, int) - Method in class org.apache.commons.dbutils.OutParameter
-
Set up the given statement by registering an OUT parameter at the given index using the
sqlType
andvalue
of thisOutParameter
. - 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
. - remove(Object) - Method in class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
- 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 anIterator<Object[]>
. - 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) - Method in class org.apache.commons.dbutils.ResultSetIterator
-
Rethrow the SQLException as a RuntimeException.
- rethrow(SQLException, String, Object...) - Method in class org.apache.commons.dbutils.AbstractQueryRunner
-
Throws a new exception with a more informative error message.
- retrieveOutParameters(CallableStatement, Object[]) - Method in class org.apache.commons.dbutils.QueryRunner
-
Set the value on all the
OutParameter
instances in theparams
array using the OUT parameter values from thestmt
. - 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. - ROW_PROCESSOR - Static variable in class org.apache.commons.dbutils.handlers.ArrayHandler
-
Singleton processor instance that handlers share to save memory.
- 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 convertResultSet
rows into various other objects. - rowUpdated() - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- rs - Variable in class org.apache.commons.dbutils.BaseResultSetHandler
-
The adapted ResultSet.
- rs - Variable in class org.apache.commons.dbutils.ResultSetIterator
-
The wrapped
ResultSet
. - rs - Variable in class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
-
The wrapped result.
- rs - Variable in class org.apache.commons.dbutils.wrappers.StringTrimmedResultSet
-
The wrapped result.
- rsh - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
S
- ScalarHandler<T> - Class in org.apache.commons.dbutils.handlers
-
ResultSetHandler
implementation that converts oneResultSet
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(int, String) - Constructor for class org.apache.commons.dbutils.handlers.ScalarHandler
-
Helper constructor
- ScalarHandler(String) - Constructor for class org.apache.commons.dbutils.handlers.ScalarHandler
-
Creates a new instance of ScalarHandler.
- serialVersionUID - Static variable in class org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap
-
Required for serialization support.
- 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(CallableStatement, int) - Method in class org.apache.commons.dbutils.OutParameter
-
Set the value using the return value of the parameter an the given index from the given
CallableStatement
. - 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
- sql - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.BatchCallableStatement
-
Deprecated.
- sql - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.QueryCallableStatement
- sql - Variable in class org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
-
Deprecated.
- SqlNullCheckedResultSet - Class in org.apache.commons.dbutils.wrappers
-
Decorates a
ResultSet
with checks for a SQL NULL value on eachgetXXX
method. - SqlNullCheckedResultSet(ResultSet) - Constructor for class org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSet
-
Constructs a new instance of
SqlNullCheckedResultSet
to wrap the specifiedResultSet
. - sqlType - Variable in class org.apache.commons.dbutils.OutParameter
- 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 inQueryRunner
. - StatementConfiguration(Integer, Integer, Integer, Integer, Integer) - Constructor for class org.apache.commons.dbutils.StatementConfiguration
-
Constructor for
StatementConfiguration
. - StatementConfiguration.Builder - Class in org.apache.commons.dbutils
-
Builder class for
StatementConfiguration
for more flexible construction. - stmtConfig - Variable in class org.apache.commons.dbutils.AbstractQueryRunner
-
Configuration to use when preparing statements.
- 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 thegetString()
andgetObject()
methods. - StringTrimmedResultSet(ResultSet) - Constructor for class org.apache.commons.dbutils.wrappers.StringTrimmedResultSet
-
Constructs a new instance of
StringTrimmedResultSet
to wrap the specifiedResultSet
.
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 anObject[]
. - toArray(ResultSet) - Method in interface org.apache.commons.dbutils.RowProcessor
-
Create an
Object[]
from the column values in oneResultSet
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 aList
of JavaBeans. - toBeanList(ResultSet, Class<? extends T>) - Method in class org.apache.commons.dbutils.BeanProcessor
-
Convert a
ResultSet
into aList
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 allResultSet
rows. - toMap(ResultSet) - Method in class org.apache.commons.dbutils.BasicRowProcessor
-
Convert a
ResultSet
row into aMap
. - toMap(ResultSet) - Method in interface org.apache.commons.dbutils.RowProcessor
-
Create a
Map
from the column values in oneResultSet
row. - toString() - Method in class org.apache.commons.dbutils.OutParameter
- type - Variable in class org.apache.commons.dbutils.handlers.BeanHandler
-
The Class of beans produced by this handler.
- type - Variable in class org.apache.commons.dbutils.handlers.BeanListHandler
-
The Class of beans produced by this handler.
- type - Variable in class org.apache.commons.dbutils.handlers.BeanMapHandler
-
The Class of beans produced by this handler.
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(String) - Method in class org.apache.commons.dbutils.AsyncQueryRunner
-
Executes the given INSERT, UPDATE, or DELETE SQL statement without any replacement parameters.
- 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.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.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.AsyncQueryRunner
-
Executes the given INSERT, UPDATE, or DELETE SQL statement.
- update(String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Executes the given INSERT, UPDATE, or DELETE SQL statement.
- update(Connection, boolean, String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Calls update after checking the parameters to ensure nothing is null.
- 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) - 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.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.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.AsyncQueryRunner
-
Execute an SQL INSERT, UPDATE, or DELETE query.
- update(Connection, String, Object...) - Method in class org.apache.commons.dbutils.QueryRunner
-
Execute an SQL INSERT, UPDATE, or DELETE query.
- 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, InputStream) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- updateBlob(int, InputStream, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- updateBlob(int, 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
- updateBlob(String, Blob) - 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, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- updateClob(int, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- updateClob(int, 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
- updateClob(String, Clob) - 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, Reader) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- updateNClob(int, Reader, long) - Method in class org.apache.commons.dbutils.BaseResultSetHandler
- updateNClob(int, 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
- updateNClob(String, NClob) - 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
V
- value - Variable in class org.apache.commons.dbutils.OutParameter
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.
All Classes and Interfaces|All Packages|Constant Field Values
AsyncQueryRunner(ExecutorService, QueryRunner)
instead. Constructor for AsyncQueryRunner that controls the use ofParameterMetaData
.