return IdentityUtils.getDatastoreIdentityForResultSetRow(ec, cmd, pcClass,
inheritanceCheck, resultSet, mappingDefinition);
}
else if (cmd.getIdentityType() == IdentityType.APPLICATION)
{
FieldManager resultsFM = new ResultSetGetter(ec, resultSet, mappingDefinition, cmd);
return IdentityUtils.getApplicationIdentityForResultSetRow(ec, cmd, pcClass, inheritanceCheck, resultsFM);
}
return null;
}