if (!(oid instanceof PName))
throw new PersistenceException("Unmanaged object identifier: " + oid);
PName pn = (PName) oid;
String className = null;
try {
pn = pn.resolve(context);
if (logger.isLoggable(BasicLevel.DEBUG)) {
logger.log(BasicLevel.DEBUG, "newInstance(" + oid + "): pn.resolve=" + pn);
logger.log(BasicLevel.DEBUG, "newInstance(" + oid + "): pn.type=" + pn.getPType());
}
PType type = pn.getPType();