{
pcCopy.jdoCopyFields(myPC, cacheableFieldNumbers);
}
// Reset jdoFlags in the copy to PersistenceCapable.READ_WRITE_OK and clear its state manager.
pcCopy.jdoReplaceFlags();
pcCopy.jdoReplaceStateManager(null);
return new CachedPC(pcCopy, l2loadedFields, transactionalVersion);
}
/**