diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedDiscriminatorColumn.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedDiscriminatorColumn.java index 86b061cb72..2725f4273e 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedDiscriminatorColumn.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedDiscriminatorColumn.java @@ -94,9 +94,6 @@ public class AnnotatedDiscriminatorColumn extends AnnotatedColumn { case CHAR: column.setDiscriminatorTypeName( "character" ); column.setImplicit( false ); - if ( discriminatorColumn != null && discriminatorColumn.length() != 1 && discriminatorColumn.length() != 31 ) { - throw new AssertionFailure( "Length for CHAR discriminator should always be 1" ); - } column.setLength( 1L ); break; case INTEGER: