HHH-15741 Explicit declaration assigned identifier generator does not work
This commit is contained in:
parent
b5a594004f
commit
c67b3f984a
|
@ -787,6 +787,9 @@ public class BinderHelper {
|
|||
|| identifierGeneratorStrategy.equals( "seqhilo" );
|
||||
if ( generatorType == null || !avoidOverriding ) {
|
||||
id.setIdentifierGeneratorStrategy( identifierGeneratorStrategy );
|
||||
if ( identifierGeneratorStrategy.equals( "assigned" ) ) {
|
||||
id.setNullValue( "undefined" );
|
||||
}
|
||||
}
|
||||
//checkIfMatchingGenerator(definition, generatorType, generatorName);
|
||||
parameters.putAll( definition.getParameters() );
|
||||
|
|
Loading…
Reference in New Issue