Package com.onewebsql.util.jdbc

Contains classes which convert JDBC results to Java objects.

See:
          Description

Interface Summary
CallableStatementHandler<T> Returns the result of a CallableStatement statement which has out parameters.
CallableStatementParameterHandler<IP,OP> Binds input ('IN') and output ('OUT') parameters to the specified CallableStatement.
ConnectionOp<T> An operation which needs database connection.
DataSourceManager Data source manager interface.
ParameterHandler<T> Interface for objects which convert between Java™ objects and database PreparedStatement parameters.
QueryResultOp.Operation<T,R> An operation which needs access to both an open ResultSet object and an open request object PreparedStatement.
RowHandler<T> Converts ResultSet object into a Java object.
 

Class Summary
ArrayParameterHandler<T> Implementation of a ParameterHandler interface which binds objects in the specified array to consecutive parameters of the specified PreparedStatement.
ArrayRowHandler<T> Implementation of the interface RowHandler which converts the specified row into an array of objects of type T.
BatchUpdateOp<PH> Implements a batch update JDBC operation as an object of type com.onewebsql.util.ConnectionOp.
BigDecimalRowHandler Converts the first column of a ResultSet into BigDecimal object.
BooleanRowHandler Converts the first column of a ResultSet into Boolean object.
ByteRowHandler Converts the first column of a ResultSet into Byte object.
BytesRowHandler Converts the first column of a ResultSet into byte[] object.
CallableStatementListParameterHandler<IP> Binds input ('IN') and output ('OUT') parameters to the specified CallableStatement in the following way: the inputParameters value is a List of objects of type IP.
CallableStatementOp<T,IP,OP> Provides way to invoke a CallableStatement using JdbcUtil class.
DateRowHandler Converts the first column of a ResultSet into Date object.
DoubleRowHandler Converts the first column of a ResultSet into Double object.
FloatRowHandler Converts the first column of a ResultSet into Float object.
IntegerRowHandler Converts the first column of a ResultSet into Integer object.
JdbcUtil Utility class to access JDBC layer.
ListParameterHandler<T> Implementation of a ParameterHandler interface which binds objects in the specified list to consecutive parameters of the specified PreparedStatement.
ListRowHandler<T> Implementation of the interface RowHandler which converts the specified row into a list of objects of type T.
LongRowHandler Converts the first column of a ResultSet into Long object.
MapRowHandler<T> Implementation of the interface RowHandler which converts a row into a map.
NoOpParameterHandler Implementation of the ParameterHandler interface which does not bind any parameters.
QueryOp<PH,RH> Operation which invokes a SQL query.
QueryResultOp<T,PH,RH> Operation which invokes an SQL query and later invokes QueryResultOp.Operation on the result.
QueryWithLimitOp<PH,RH> Operation which invokes an SQL query with a limit on the number of rows retrieved.
ShortRowHandler Converts the first column of a ResultSet into Short object.
SingleColumnObjectRowHandler<T> Converts the first column of a ResultSet into single Object.
StringRowHandler Converts the first column of a ResultSet into String object.
TimeRowHandler Converts the first column of a ResultSet into Time object.
TimestampRowHandler Converts the first column of a ResultSet into Timestamp object.
UpdateOp<PH> Operation which invokes an UPDATE query.
 

Exception Summary
RuntimeSQLException Wraps SQLException into RuntimeException.
 

Package com.onewebsql.util.jdbc Description

Contains classes which convert JDBC results to Java objects.



Copyright © 2011-2013 e-point SA. All Rights Reserved.