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);
|
Node pn = new Node(propname, propRel.getPrototype(), nmgr);
|
||||||
|
|
||||||
pn.setDbMapping(propRel.getVirtualMapping());
|
pn.setDbMapping(propRel.getVirtualMapping());
|
||||||
|
pn.setParent(this);
|
||||||
if (propRel.needsPersistence()) {
|
if (propRel.needsPersistence()) {
|
||||||
setNode(propname, pn);
|
setNode(propname, pn);
|
||||||
prop = (Property) propMap.get(propname);
|
prop = (Property) propMap.get(propname);
|
||||||
|
|
Loading…
Add table
Reference in a new issue