com.interface21.jdbc.core
Interface RowCallbackHandler

One of the two central callback interfaces used by the JdbcTemplate class.
Implementations of this interface
perform the actual work of extracting results,
but don't need to worry about exception handling. SQLexceptions
will be caught and handled correctly by the JdbcTemplate class.

Author:

Rod Johnson

Method Summary

void

processRow(java.sql.ResultSet rs)
Implementations must implement this method to process
each row of data in the ResultSet.

Method Detail

processRow

Implementations must implement this method to process
each row of data in the ResultSet. This method should not call
next() on the ResultSet, but extract the current values.
Exactly what the implementation chooses to do is up to it;
a trivial implementation might simply count rows, while another
implementation might build an XML document.