Interface IRowMapper<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T mapRow​(java.sql.ResultSet rs, int rowNum)
      Transform a DB row from ResultSet to a business object.
    • Method Detail

      • mapRow

        T mapRow​(java.sql.ResultSet rs,
                 int rowNum)
          throws java.sql.SQLException
        Transform a DB row from ResultSet to a business object.

        Note: Implementation should NOT call ResultSet.next()!

        Parameters:
        rs -
        rowNum -
        Returns:
        the result object for the current row
        Throws:
        java.sql.SQLException