mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#945 - Invalid SQL when using @Aggregation with a fetch() to a ManyToOne - missing columns in GROUP BY
This commit is contained in:
1 parent
d9147327c1
commit
2fa4345742
2 files changed
+15
No files matched your search
@@ -397,6 +397,9 @@ class SqlTreeNodeBean implements SqlTreeNode {
|
||||
property.appendSelect(ctx, subQuery);
|
||||
}
|
||||
}
|
||||
for (SqlTreeNode aChildren : children) {
|
||||
aChildren.appendGroupBy(ctx, subQuery);
|
||||
}
|
||||
ctx.popTableAlias();
|
||||
ctx.popJoin();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user