Skip to content

Commit 0afb677

Browse files
committed
improve comment
1 parent 15458fb commit 0afb677

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,9 @@ private static Class<?> determineResultType(SqmSelectStatement<?> sqm, Class<?>
297297
}
298298
}
299299
else if ( expectedResultType != null ) {
300-
// assume we can repackage the tuple as
301-
// the given type (worry about how later)
300+
// assume we can repackage the tuple as the given type - worry
301+
// about how later (it's handled using a RowTransformer which is
302+
// set up in ConcreteSqmSelectQueryPlan.determineRowTransformer)
302303
return expectedResultType;
303304
}
304305
else {

0 commit comments

Comments
 (0)