if (id == null)
{
throw new NucleusUserException(LOCALISER.msg("010044"));
}
IdentityStringTranslator translator = getNucleusContext().getIdentityStringTranslator();
if (translator != null && id instanceof String)
{
// DataNucleus extension to translate input identities into valid persistent identities.
id = translator.getIdentity(this, (String)id);
}
// try to find object in cache(s)
Object pc = getObjectFromCache(id);
boolean fromCache = true;