* Omit parent lookup in getParent() for transient nodes.
This commit is contained in:
parent
f779decdfc
commit
9def07d6e9
1 changed files with 2 additions and 1 deletions
|
@ -755,7 +755,8 @@ public final class Node implements INode, Serializable {
|
||||||
// check what's specified in the type.properties for this node.
|
// check what's specified in the type.properties for this node.
|
||||||
ParentInfo[] parentInfo = null;
|
ParentInfo[] parentInfo = null;
|
||||||
|
|
||||||
if (isRelational() && lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
|
if (isRelational() && state != TRANSIENT
|
||||||
|
&& lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
|
||||||
parentInfo = dbmap.getParentInfo();
|
parentInfo = dbmap.getParentInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue