mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: use outer join on "is null" check
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user