HHH-16606 Only use RowTransformerArrayImpl when result type is Object[]
This commit is contained in:
parent
857a5c0724
commit
945f2b8adb
|
@ -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