HHH-16551 - Removed declared discriminator column length check
This commit is contained in:
parent
bb49a26af9
commit
f469c769f6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue