com.framework.jdto.jdbc.wrapper
Interface RowMapper
- public interface RowMapper
All the DAO classes that call executeQuery(RowMapper rm) method of PreparedStatementWrapper or
StatementWrapper should implement this interface.
- Author:
- msatish
Method Summary |
Object |
mapRow(ResultSet rs)
This method maps the ResultSet Object of the Current DAO with the respective Value Object and returns it as an
java.lang.Object type of object. |
mapRow
public Object mapRow(ResultSet rs)
throws SQLException
- This method maps the ResultSet Object of the Current DAO with the respective Value Object and returns it as an
java.lang.Object type of object.
- Parameters:
rs
- ResultSet
- Returns:
- java.lang.Object type of object, which can be any user-defined value object.
- Throws:
SQLException
- if any database error occurs