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 @@ public class Binder {
|
|||
.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…
Reference in New Issue