code: protected String[] getKeysFromResultSet()
              throws SQLException {
  
          String[] keys = super.getKeysFromResultSet();
  
          // check schemaProperty mapping names for more accurate column->field mapping
          SchemaProperty[] props = _schemaType.getElementProperties();
          for (int i = 0; i < props.length; i++) {
  
              int col = -1;
              try {
                  col = _resultSet.findColumn(props[i].getName().getLocalPart());
              } catch (SQLException x) {
              }
  
              if (col > 0) {
                  keys[col] = props[i].getJavaPropertyName().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