FIX: use outer join on "is null" check (#1535)

This commit is contained in:
Roland Praml authored and Rob Bygrave committed 2018-11-13 20:46:18 +13:00
1 parent ce403e72a7
commit 88a0c34d37
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);
}
}