From d60aa27e7cdc454d500a8782dba37aae5383c75c Mon Sep 17 00:00:00 2001 From: Gavin King Date: Thu, 28 Nov 2024 19:09:02 +0100 Subject: [PATCH] HHH-18810 expose impliedJavaType of BasicValue --- .../src/main/java/org/hibernate/mapping/BasicValue.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java b/hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java index 1e6191984b..666524957e 100644 --- a/hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java +++ b/hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java @@ -737,12 +737,13 @@ public class BasicValue extends SimpleValue implements JdbcTypeIndicators, Resol } } - private java.lang.reflect.Type impliedJavaType(TypeConfiguration typeConfiguration) { + @Incubating + public java.lang.reflect.Type impliedJavaType(TypeConfiguration typeConfiguration) { if ( resolvedJavaType != null ) { return resolvedJavaType; } else if ( implicitJavaTypeAccess != null ) { - return implicitJavaTypeAccess.apply(typeConfiguration); + return implicitJavaTypeAccess.apply( typeConfiguration ); } else if ( ownerName != null && propertyName != null ) { return reflectedPropertyType( ownerName, propertyName, classLoaderService() );