Skip to content

Commit 100114e

Browse files
cigalymbellade
authored andcommitted
HHH-19747 Changing org.hibernate.mapping.BasicValue#interpretExplicitlyNamedType to handle names starting with "convertedBasicType"
1 parent 6a5b9a7 commit 100114e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
import org.hibernate.type.descriptor.jdbc.JdbcType;
6666
import org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators;
6767
import org.hibernate.type.internal.BasicTypeImpl;
68+
import org.hibernate.type.internal.ConvertedBasicTypeImpl;
6869
import org.hibernate.type.spi.TypeConfiguration;
6970
import org.hibernate.type.spi.TypeConfigurationAware;
7071
import org.hibernate.usertype.DynamicParameterizedType;
@@ -849,7 +850,8 @@ public TypeConfiguration getTypeConfiguration() {
849850
// return EnumeratedValueResolution.fromName( name, stdIndicators, context );
850851
// }
851852

852-
if ( name.startsWith( BasicTypeImpl.EXTERNALIZED_PREFIX ) ) {
853+
if ( name.startsWith( BasicTypeImpl.EXTERNALIZED_PREFIX )
854+
|| name.startsWith( ConvertedBasicTypeImpl.EXTERNALIZED_PREFIX ) ) {
853855
return getNamedBasicTypeResolution(
854856
bootstrapContext.resolveAdHocBasicType( name ),
855857
explicitMutabilityPlanAccess,

0 commit comments

Comments
 (0)