minor change in getParent()
This commit is contained in:
parent
293c4e013a
commit
8e86be7c60
1 changed files with 2 additions and 1 deletions
|
@ -597,7 +597,8 @@ public 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 (dbmap != null && dbmap.isRelational () && lastParentSet < Math.max (dbmap.getLastTypeChange(), lastmodified))
|
if (dbmap != null && dbmap.isRelational () &&
|
||||||
|
(lastParentSet < dbmap.getLastTypeChange() || lastParentSet < lastmodified))
|
||||||
parentInfo = dbmap.getParentInfo ();
|
parentInfo = dbmap.getParentInfo ();
|
||||||
|
|
||||||
// check if current parent candidate matches presciption, if not, try to get it
|
// check if current parent candidate matches presciption, if not, try to get it
|
||||||
|
|
Loading…
Add table
Reference in a new issue