Typically used either for {@link JdbcTemplate}'s query methods or for out parameters of stored procedures. RowMapper objects are typically stateless and thus reusable; they are an ideal choice for implementing row-mapping logic in a single place.
Alternatively, consider subclassing {@link org.springframework.jdbc.object.MappingSqlQuery} from thejdbc.object
package: Instead of working with separate JdbcTemplate and RowMapper objects, you can build executable query objects (containing row-mapping logic) in that style.
@author Thomas Risberg
@author Juergen Hoeller
@see JdbcTemplate
@see RowCallbackHandler
@see ResultSetExtractor
@see org.springframework.jdbc.object.MappingSqlQuery
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|