code: public static <T> List<T> resultSetToList(ResultSet resultSet, Class<T> targetClass) throws SQLException
     {
        return OrmReader.resultSetToList(resultSet, targetClass);
     }
docs: This method will iterate over a ResultSet that contains columns that map to the
  target class and return a list of target instances.  <b>Note, this assumes that
  ResultSet.next() has <i>NOT</i> been called before calling this method.</b>
  <p>
  <b>The entire ResultSet will be consumed and closed.</b>
  
  @param resultSet a {@link ResultSet}
  @param targetClass the target class
  @param <T> the class template
  @return a list of instance of the target class, or an empty list
  @throws SQLException if a {@link SQLException} occurs