HHH-13853 fix minor issue
This commit is contained in:
parent
d9a335c429
commit
e9df1cb626
|
@ -193,13 +193,14 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
|
|||
this.persistenceUnit = persistenceUnit;
|
||||
|
||||
if ( integrationSettings == null ) {
|
||||
integrationSettings = Collections.emptyMap();
|
||||
integrationSettings = new HashMap();
|
||||
}
|
||||
|
||||
Map mergedIntegrationSettings = null;
|
||||
Properties properties = persistenceUnit.getProperties();
|
||||
if ( properties != null ) {
|
||||
mergedIntegrationSettings = new HashMap( persistenceUnit.getProperties() );
|
||||
// original integratin setting entries take precedence
|
||||
mergedIntegrationSettings = new HashMap( properties );
|
||||
mergedIntegrationSettings.putAll( integrationSettings );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue