Object pc = getObjectFromCache(oid);
if (pc != null)
{
// We have an object with this new object id already so return it with the retrieved field values imposed
sm = findStateManager(pc);
sm.loadFieldValues(fv); // Load the values retrieved by the query
putObjectIntoLevel2Cache(sm, false);
return pc;
}
}
}