&& !(((PersistentCollection<Set<?>>)nextSet).getLoader() instanceof CollectionLoader)) { log.debug("instrument persistent collection from %s", ObjectUtil.toString(nextSet));
if (!(((PersistentCollection<?>)previous).getLoader() instanceof CollectionLoader)) { log.debug("instrument persistent collection from %s", ObjectUtil.toString(previous)); ((PersistentCollection<Object>)previous).setLoader(new CollectionLoader<Object>(mergeContext.getServerSession(), parent, propertyName)); if (previous instanceof PersistentCollection) pcoll = (PersistentCollection<?>)previous; if (coll.getLoader() instanceof CollectionLoader) pcoll = duplicatePersistentCollection(mergeContext, coll, parent, propertyName); else if (mergeContext.getSourceEntityManager() != null) dataManager.setLazyProperty(parent, propertyName); if (!(coll.getLoader() instanceof CollectionLoader)) { log.debug("instrument persistent collection from %s", ObjectUtil.toString(pcoll)); ((PersistentCollection<Object>)pcoll).setLoader(new CollectionLoader<Object>(mergeContext.getServerSession(), parent, propertyName));
&& !(((PersistentCollection<Map<?, ?>>)nextMap).getLoader() instanceof CollectionLoader)) { log.debug("instrument persistent map from %s", ObjectUtil.toString(nextMap));
&& !(((PersistentCollection<?>)nextList).getLoader() instanceof CollectionLoader)) { log.debug("instrument persistent collection from %s", ObjectUtil.toString(nextList));