Skip to content

Commit 045b722

Browse files
cigalybeikov
authored andcommitted
HHH-18787 Contribute type using returnedClass().getTypeName() instead of returnedClass().getName()
1 parent 1082ae2 commit 045b722

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ default void contributeJdbcTypeConstructor(JdbcTypeConstructor typeConstructor)
5656
* type for values of type {@link UserType#returnedClass()}.
5757
*/
5858
default void contributeType(UserType<?> type) {
59-
contributeType( type, type.returnedClass().getName() );
59+
contributeType( type, type.returnedClass().getTypeName() );
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)