use a static final since we have it sitting there

This commit is contained in:
Gavin King 2024-03-21 14:52:58 +01:00
parent 678a0ec159
commit 49b80f636d
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class GeneratorBinder {
|| identifierGeneratorStrategy.equals( "seqhilo" );
if ( generatorType == null || !avoidOverriding ) {
id.setIdentifierGeneratorStrategy( identifierGeneratorStrategy );
if ( identifierGeneratorStrategy.equals( "assigned" ) ) {
if ( DEFAULT_ID_GEN_STRATEGY.equals( identifierGeneratorStrategy ) ) {
id.setNullValue( "undefined" );
}
}