mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#944 - Incorrect join (should be outer join) when predicate only path traverses an optional relationship to a mandatory relationship
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user