Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit df8223e

Browse files
committed
HHH-19747 Changing org.hibernate.mapping.BasicValue#interpretExplicitlyNamedType to handle names starting with "convertedBasicType"
1 parent 454b44a commit df8223e

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)

AltStyle によって変換されたページ (->オリジナル) /