* Omit parent lookup in getParent() for transient nodes.

This commit is contained in:
hns 2006-08-16 11:41:08 +00:00
parent f779decdfc
commit 9def07d6e9

View file

@ -755,7 +755,8 @@ public final class Node implements INode, Serializable {
// check what's specified in the type.properties for this node.
ParentInfo[] parentInfo = null;
if (isRelational() && lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
if (isRelational() && state != TRANSIENT
&& lastParentSet <= Math.max(dbmap.getLastTypeChange(), lastmodified)) {
parentInfo = dbmap.getParentInfo();
}