code: private QueryParameters convertResultSetCurrentLine(ResultSet rs) throws SQLException {
          ResultSetMetaData rsmd = rs.getMetaData();
          int cols = rsmd.getColumnCount();
          String columnName = null;
          QueryParameters result = new QueryParameters();
  
          for (int i = 1; i <= cols; i++) {
  
              columnName = rsmd.getColumnLabel(i);
              if (null == columnName || 0 == columnName.length()) {
                  columnName = rsmd.getColumnName(i);
              }
  
              result.set(columnName, rs.getObject(i));
              result.updatePosition(columnName, i - 1);
          }
  
          if (result != null) {
              result = typeHandler.processOutput(stmt, result);
          }
  
          return result;
      }
docs: Converts ResultSet current row into {@link QueryParameters}. Return value is handled by {@link TypeHandler}
  
  @param rs ResultSet which would be read
  @return converted ResultSet current row
  @throws SQLException