An interface used by
JdbcTemplate for processing rows of a
java.sql.ResultSet on a per-row basis. Implementations of
this interface perform the actual work of processing each row
but don't need to worry about exception handling.
java.sql.SQLException SQLExceptions will be caught and handled
by the calling JdbcTemplate.
In contrast to a
ResultSetExtractor , a RowCallbackHandler
object is typically stateful: It keeps the result state within the
object, to be available for later inspection.
Consider using a
RowMapper instead if you need to map
exactly one result object per row, assembling them into a List.
author: Spring Framework See Also: JdbcTemplate See Also: RowMapper See Also: ResultSetExtractor |