We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8538781 commit 1cc7defCopy full SHA for 1cc7def
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/AggregateColumnAssignmentHandler.java
@@ -64,7 +64,7 @@ private static void collectRootAggregates(
64
final EmbeddableMappingType embeddableMappingType = (EmbeddableMappingType) mappedType;
65
final SelectableMapping aggregateMapping = embeddableMappingType.getAggregateMapping();
66
if ( aggregateMapping == null ) {
67
- collectRootAggregates( rootAggregates, mappingType );
+ collectRootAggregates( rootAggregates, embeddableMappingType );
68
}
69
else {
70
rootAggregates.put( aggregateMapping.getSelectablePath(), embeddableMappingType );
0 commit comments