fixed aggressive loading and caching for virtual subnodes (works)
and groupby nodes (is ignored).
This commit is contained in:
parent
50b69b6958
commit
f5923016c6
1 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,8 @@ public class Relation {
|
||||||
groupbyprototype = props.getProperty (propname+".groupby.prototype");
|
groupbyprototype = props.getProperty (propname+".groupby.prototype");
|
||||||
if (groupbyprototype != null && groupbyprototype.trim().length() == 0)
|
if (groupbyprototype != null && groupbyprototype.trim().length() == 0)
|
||||||
groupbyprototype = null;
|
groupbyprototype = null;
|
||||||
|
// aggressive loading and caching is not supported for groupby-nodes
|
||||||
|
aggressiveLoading = aggressiveCaching = false;
|
||||||
}
|
}
|
||||||
// check if subnode condition should be applied for property relations
|
// check if subnode condition should be applied for property relations
|
||||||
if ("_properties".equalsIgnoreCase (propname) || virtual) {
|
if ("_properties".equalsIgnoreCase (propname) || virtual) {
|
||||||
|
@ -258,6 +260,8 @@ public class Relation {
|
||||||
vr.groupbyprototype = groupbyprototype;
|
vr.groupbyprototype = groupbyprototype;
|
||||||
vr.order = order;
|
vr.order = order;
|
||||||
vr.subnoderelation = subnoderelation;
|
vr.subnoderelation = subnoderelation;
|
||||||
|
vr.aggressiveLoading = aggressiveLoading;
|
||||||
|
vr.aggressiveCaching = aggressiveCaching;
|
||||||
return vr;
|
return vr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue