use a static final since we have it sitting there
This commit is contained in:
parent
678a0ec159
commit
49b80f636d
|
@ -111,7 +111,7 @@ public class GeneratorBinder {
|
||||||
|| identifierGeneratorStrategy.equals( "seqhilo" );
|
|| identifierGeneratorStrategy.equals( "seqhilo" );
|
||||||
if ( generatorType == null || !avoidOverriding ) {
|
if ( generatorType == null || !avoidOverriding ) {
|
||||||
id.setIdentifierGeneratorStrategy( identifierGeneratorStrategy );
|
id.setIdentifierGeneratorStrategy( identifierGeneratorStrategy );
|
||||||
if ( identifierGeneratorStrategy.equals( "assigned" ) ) {
|
if ( DEFAULT_ID_GEN_STRATEGY.equals( identifierGeneratorStrategy ) ) {
|
||||||
id.setNullValue( "undefined" );
|
id.setNullValue( "undefined" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue