Skip to content

Commit b5c0f3c

Browse files
cigalybeikov
authored andcommitted
HHH-18787 Contribute type using returnedClass().getTypeName() instead of returnedClass().getName()
1 parent 8cf34b5 commit b5c0f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/boot/model/TypeContributions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ default void contributeJdbcTypeConstructor(JdbcTypeConstructor typeConstructor)
5858
* type for values of type {@link UserType#returnedClass()}.
5959
*/
6060
default void contributeType(UserType<?> type) {
61-
contributeType( type, type.returnedClass().getName() );
61+
contributeType( type, type.returnedClass().getTypeName() );
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)