com.onewebsql.util.jdbc
Interface RowHandler<T>

Type Parameters:
T - type of the created object
All Known Implementing Classes:
ArrayRowHandler, BigDecimalRowHandler, BooleanRowHandler, ByteRowHandler, BytesRowHandler, DateRowHandler, DoubleRowHandler, FloatRowHandler, IntegerRowHandler, ListRowHandler, LongRowHandler, MapRowHandler, SequenceRowHandler, ShortRowHandler, SingleColumnObjectRowHandler, StringRowHandler, TimeRowHandler, TimestampRowHandler

public interface RowHandler<T>

Converts ResultSet object into a Java object.


Method Summary
 T getObject(ResultSet resultSet)
          Creates an object from the current row in the specified ResultSet.
 

Method Detail

getObject

T getObject(ResultSet resultSet)
            throws SQLException
Creates an object from the current row in the specified ResultSet.

Parameters:
resultSet - SQL query result
Returns:
an object created from the current row in the specified ResultSet
Throws:
SQLException - if an exception is thrown when the object is created


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