#944 - Incorrect join (should be outer join) when predicate only path traverses an optional relationship to a mandatory relationship

This commit is contained in:
Rob Bygrave committed 2017-01-11 23:21:50 +13:00
1 parent 5ad9a611f9
commit d9147327c1
2 files changed
+22 -5

No files matched your search

@@ -124,7 +124,7 @@ class SqlTreeNodeExtraJoin implements SqlTreeNode {
joinType = SqlJoinType.OUTER;
}
if (!manyToMany) {
assocBeanProperty.addJoin(joinType, prefix, ctx);
joinType = assocBeanProperty.addJoin(joinType, prefix, ctx);
}
if (children != null) {