From 045b722c8d0b55fb675c05d18dba2be91c4830a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Cedomir=20Igaly?= Date: Wed, 6 Nov 2024 09:40:45 +0100 Subject: [PATCH] HHH-18787 Contribute type using returnedClass().getTypeName() instead of returnedClass().getName() --- .../main/java/org/hibernate/boot/model/TypeContributions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/TypeContributions.java b/hibernate-core/src/main/java/org/hibernate/boot/model/TypeContributions.java index 5acf3bd80d..8ad77cba49 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/TypeContributions.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/TypeContributions.java @@ -56,7 +56,7 @@ public interface TypeContributions { * type for values of type {@link UserType#returnedClass()}. */ default void contributeType(UserType type) { - contributeType( type, type.returnedClass().getName() ); + contributeType( type, type.returnedClass().getTypeName() ); } /**