set parent when creating a virtual/mountpoint/collection node for transient objects.

This commit is contained in:
hns 2003-06-05 17:19:03 +00:00
parent dc0c961001
commit f2c51c8e32

View file

@ -1667,6 +1667,7 @@ public final class Node implements INode, Serializable {
Node pn = new Node(propname, propRel.getPrototype(), nmgr);
pn.setDbMapping(propRel.getVirtualMapping());
pn.setParent(this);
if (propRel.needsPersistence()) {
setNode(propname, pn);
prop = (Property) propMap.get(propname);