HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping
This commit is contained in:
parent
bf3669a7de
commit
4541f7b501
|
@ -286,15 +286,14 @@ public class StandardServiceRegistryBuilder {
|
|||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public StandardServiceRegistry build() {
|
||||
final Map settingsCopy = new HashMap();
|
||||
settingsCopy.putAll( settings );
|
||||
Environment.verifyProperties( settingsCopy );
|
||||
ConfigurationHelper.resolvePlaceHolders( settingsCopy );
|
||||
|
||||
applyServiceContributingIntegrators();
|
||||
applyServiceContributors();
|
||||
|
||||
final Map settingsCopy = new HashMap();
|
||||
settingsCopy.putAll( settings );
|
||||
settingsCopy.put( org.hibernate.boot.cfgxml.spi.CfgXmlAccessService.LOADED_CONFIG_KEY, aggregatedCfgXml );
|
||||
Environment.verifyProperties( settingsCopy );
|
||||
ConfigurationHelper.resolvePlaceHolders( settingsCopy );
|
||||
|
||||
return new StandardServiceRegistryImpl(
|
||||
autoCloseRegistry,
|
||||
|
|
Loading…
Reference in New Issue