HHH-16606 Only use RowTransformerArrayImpl when result type is Object[]
This commit is contained in:
parent
7be44578a1
commit
3413007afa
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue