FIX: use outer join on "is null" check

This commit is contained in:
Roland Praml
2018-11-10 23:32:24 +01:00
parent 808004165c
commit 1b2bfc5df8
2 changed files with 200 additions and 0 deletions
@@ -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);
}
}