HHH-16551 - Removed declared discriminator column length check
This commit is contained in:
parent
8fceeaf542
commit
0a79ce8c47
|
@ -94,9 +94,6 @@ public class AnnotatedDiscriminatorColumn extends AnnotatedColumn {
|
||||||
case CHAR:
|
case CHAR:
|
||||||
column.setDiscriminatorTypeName( "character" );
|
column.setDiscriminatorTypeName( "character" );
|
||||||
column.setImplicit( false );
|
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 );
|
column.setLength( 1L );
|
||||||
break;
|
break;
|
||||||
case INTEGER:
|
case INTEGER:
|
||||||
|
|
Loading…
Reference in New Issue