mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 00:55:16 +00:00
HHH-9221 - Binder#bindIdentifierGenerator leads to NPE due to bad Map calls
This commit is contained in:
parent
8c42cc6899
commit
b0a2ae9d66
@ -1324,10 +1324,10 @@ private void bindIdentifierGenerator(final EntityBinding rootEntityBinding) {
|
||||
.getService( ConfigurationService.class )
|
||||
.getSettings()
|
||||
);
|
||||
if ( !properties.contains( AvailableSettings.PREFER_POOLED_VALUES_LO ) ) {
|
||||
if ( !properties.containsKey( AvailableSettings.PREFER_POOLED_VALUES_LO ) ) {
|
||||
properties.put( AvailableSettings.PREFER_POOLED_VALUES_LO, "false" );
|
||||
}
|
||||
if ( !properties.contains( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER ) ) {
|
||||
if ( !properties.containsKey( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER ) ) {
|
||||
properties.put(
|
||||
PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER,
|
||||
rootBindingContext.getMetadataCollector().getObjectNameNormalizer()
|
||||
|
Loading…
x
Reference in New Issue
Block a user