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 3711e6e commit 7fd44d6Copy full SHA for 7fd44d6
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
@@ -5141,7 +5141,7 @@ public SqmSubQuery<?> visitSubquery(HqlParser.SubqueryContext ctx) {
5141
5142
final List<SqmSelection<?>> selections = subQuery.getQuerySpec().getSelectClause().getSelections();
5143
if ( selections.size() == 1 ) {
5144
- subQuery.applyInferableType( selections.get( 0 ).getNodeType() );
+ subQuery.applyInferableType( selections.get( 0 ).getExpressible().getSqmType() );
5145
}
5146
5147
return subQuery;
0 commit comments