Callback interface used by
JdbcTemplate 's query methods.
Implementations of this interface perform the actual work of extracting
results from a
java.sql.ResultSet , but don't need to worry
about exception handling.
java.sql.SQLException SQLExceptions will be caught and handled by the calling JdbcTemplate.
author: Spring Framework See Also:JdbcTemplate See Also:RowCallbackHandler See Also:RowMapper
Implementations must implement this method to process the entire ResultSet.
Parameters: rs - ResultSet to extract data from. Implementations shouldnot close this: it will be closed by the calling JdbcTemplate. an arbitrary result object, or null if none(the extractor will typically be stateful in the latter case). throws: java.sql.SQLException - if a SQLException is encountered getting columnvalues or navigating (that is, there's no need to catch SQLException) throws: JDBCException - in case of custom exceptions