From e4a998cbe7e342912bbd013978cfc9f19061fda0 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Wed, 14 Feb 2024 11:07:12 +0100 Subject: [PATCH] add a TODO --- .../sql/results/internal/RowTransformerConstructorImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hibernate-core/src/main/java/org/hibernate/sql/results/internal/RowTransformerConstructorImpl.java b/hibernate-core/src/main/java/org/hibernate/sql/results/internal/RowTransformerConstructorImpl.java index 00b8d30b42..621cff1a75 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/results/internal/RowTransformerConstructorImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/results/internal/RowTransformerConstructorImpl.java @@ -37,6 +37,7 @@ public class RowTransformerConstructorImpl implements RowTransformer { constructor.setAccessible( true ); } catch (Exception e) { + //TODO try again with primitive types throw new InstantiationException( "Cannot instantiate query result type ", type, e ); } }