docs: protected Identity getIdentityFromResultSet() throws PersistenceBrokerException
      {
          // fill primary key values from Resultset
          FieldDescriptor fld;
          FieldDescriptor[] pkFields = getQueryObject().getClassDescriptor().getPkFields();
          Object[] pkValues = new Object[pkFields.length];
  
          for (int i = 0; i < pkFields.length; i++)
          {
              fld = pkFields[i];
              pkValues[i] = getRow().get(fld.getColumnName());
          }
  
          // return identity object build up from primary keys
          return getBroker().serviceIdentity().buildIdentity(
                  getQueryObject().getClassDescriptor().getClassOfObject(), getTopLevelClass(), pkValues);
      }