HHH-16606 Only use RowTransformerArrayImpl when result type is Object[]

This commit is contained in:
Christian Beikov 2023-06-05 12:59:22 +02:00
parent 7be44578a1
commit 3413007afa
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ public class ConcreteSqmSelectQueryPlan<R> implements SelectQueryPlan<R> {
return RowTransformerStandardImpl.instance();
}
if ( resultType.isArray() ) {
if ( resultType == Object[].class ) {
return (RowTransformer<T>) RowTransformerArrayImpl.instance();
}