com.jpattern.orm.session
Interface ResultSetRowReader<T>

Type Parameters:
T -

public interface ResultSetRowReader<T>

Author:
ufo

Method Summary
 T readRow(ResultSet rs, int rowNum)
          This method should not call next() on the ResultSet; it is only supposed to map values of the current row.
 

Method Detail

readRow

T readRow(ResultSet rs,
          int rowNum)
          throws SQLException
This method should not call next() on the ResultSet; it is only supposed to map values of the current row.

Parameters:
rs - the ResultSet to map (pre-initialized for the current row)
rowNum - the number of the current row
Returns:
the result object for the current row
Throws:
SQLException


Copyright © 2013. All Rights Reserved.