set parent when creating a virtual/mountpoint/collection node for transient objects.
This commit is contained in:
parent
dc0c961001
commit
f2c51c8e32
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue