mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-10 16:46:19 +00:00
#530 - Bad join with raw() expression on a @ManyToMany path.
This commit is contained in:
1 parent
d33afd85de
commit
e7c6223799
2 files changed
+16
-2
No files matched your search
@@ -100,8 +100,9 @@ public class SqlTreeNodeExtraJoin implements SqlTreeNode {
|
||||
|
||||
if (pathContainsMany) {
|
||||
// "promote" to left outer as the path contains a many
|
||||
assocBeanProperty.addJoin(SqlJoinType.OUTER, prefix, ctx);
|
||||
} else if (!manyToMany) {
|
||||
joinType = SqlJoinType.OUTER;
|
||||
}
|
||||
if (!manyToMany) {
|
||||
assocBeanProperty.addJoin(joinType, prefix, ctx);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user