} else {
// Numeric based
id = OIDFactory.getInstance(ec.getNucleusContext(), cls.getName(), key.getId());
}
} else {
FieldManager fm = new QueryEntityPKFetchFieldManager(acmd, entity);
id = IdentityUtils.getApplicationIdentityForResultSetRow(ec, acmd, cls, true, fm);
}
Object pojo = ec.findObject(id, fv, cls, ignoreCache, false);
ObjectProvider op = ec.findObjectProvider(pojo);