obj = getObjectByAID(om, (ResultSet)rs, fieldNumbers, cmd, pcClassForObject, requiresInheritanceCheck);
}
else if (cmd.getIdentityType() == IdentityType.DATASTORE)
{
JavaTypeMapping mapping = new OIDMapping();
mapping.initialize(table.getStoreManager().getDatastoreAdapter(), pcClassForObject.getName());
mapping.addDataStoreMapping(table.getDataStoreObjectIdMapping().getDataStoreMapping(0));
Object id = mapping.getObject(om, rs, datastoreIdentityExpressionIndex);
if (fieldNumbers == null)
{
obj = om.findObject(id, false, requiresInheritanceCheck, null);