Implement/fix aggressive property loading for Oracle when loading through
manually set subnodeRelation.
This commit is contained in:
parent
cecd13f7d2
commit
e1b65bdc8b
1 changed files with 9 additions and 3 deletions
|
@ -1589,9 +1589,15 @@ public final class NodeManager {
|
|||
q.append(" = '");
|
||||
q.append(escape(kstr));
|
||||
q.append("'");
|
||||
q.append(" AND (");
|
||||
q.append(home.getSubnodeRelation().trim().substring(5));
|
||||
q.append(")");
|
||||
// add join contraints in case this is an old oracle style join
|
||||
dbm.addJoinConstraints(q, " AND ");
|
||||
// add potential constraints from manually set subnodeRelation
|
||||
String subrel = home.getSubnodeRelation().trim();
|
||||
if (subrel.length() > 5) {
|
||||
q.append(" AND (");
|
||||
q.append(subrel.substring(5).trim());
|
||||
q.append(")");
|
||||
}
|
||||
} else {
|
||||
q.append(rel.buildQuery(home,
|
||||
home.getNonVirtualParent(),
|
||||
|
|
Loading…
Add table
Reference in a new issue