code: protected String[] getKeysFromResultSet() throws SQLException {
  
          String[] keys;
          final ResultSetMetaData md = _resultSet.getMetaData();
          final int columnCount = md.getColumnCount();
  
          keys = new String[columnCount + 1];
          for (int i = 1; i <= columnCount; i++) {
              keys[i] = md.getColumnName(i).toUpperCase();
          }
          return keys;
      }
docs: Build a String array of column names from the ResultSet.
  @return A String array containing the column names contained within the ResultSet.
  @throws SQLException on error