From de0f141b4fe851887d42ab51bb57347d77656352 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Thu, 19 Nov 2020 11:18:34 +0100 Subject: [PATCH] HHH-14335 Remember the resolved type in SimpleValue#getType instead of resolving multiple times --- .../src/main/java/org/hibernate/mapping/SimpleValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java b/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java index 3db302a5d4..b1c9790f24 100644 --- a/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java +++ b/hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java @@ -499,7 +499,7 @@ public class SimpleValue implements KeyValue { throw new MappingException( msg ); } - return result; + return type = result; } @Override