FIX: use outer join on "is null" check

This commit is contained in:
Roland Praml committed 2018-11-10 23:32:24 +01:00
1 parent 808004165c
commit 1b2bfc5df8
2 files changed
+200

No files matched your search

@@ -40,6 +40,9 @@ class NullExpression extends AbstractExpression {
propertyPath = SplitName.split(propName)[0];
propertyContainsMany(propertyPath, desc, manyWhereJoin);
} else {
if (elProperty != null && elProperty.containsMany() && !notNull) {
manyWhereJoin.setRequireOuterJoins(true);
}
propertyContainsMany(propName, desc, manyWhereJoin);
}
}