File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 2121import org .hibernate .boot .model .naming .PhysicalNamingStrategyStandardImpl ;
2222import org .hibernate .boot .model .relational .Database ;
2323import org .hibernate .boot .model .relational .SqlStringGenerationContext ;
24- import org .hibernate .boot .registry .BootstrapServiceRegistryBuilder ;
2524import org .hibernate .boot .registry .classloading .internal .ClassLoaderServiceImpl ;
2625import org .hibernate .boot .registry .classloading .spi .ClassLoaderService ;
2726import org .hibernate .boot .registry .classloading .spi .ClassLoadingException ;
27+ import org .hibernate .boot .registry .internal .BootstrapServiceRegistryImpl ;
2828import org .hibernate .boot .registry .internal .StandardServiceRegistryImpl ;
29+ import org .hibernate .boot .registry .selector .internal .StrategySelectorImpl ;
2930import org .hibernate .boot .spi .BootstrapContext ;
3031import org .hibernate .boot .spi .EffectiveMappingDefaults ;
3132import org .hibernate .boot .spi .MappingDefaults ;
@@ -186,7 +187,13 @@ public Class<?> classForName(String className) {
186187 }
187188 };
188189 serviceRegistry = StandardServiceRegistryImpl .create (
189- new BootstrapServiceRegistryBuilder ().applyClassLoaderService ( classLoaderService ).build (),
190+ new BootstrapServiceRegistryImpl (
191+ true ,
192+ classLoaderService ,
193+ new StrategySelectorImpl ( classLoaderService ),
194+ () -> emptyList ()
195+ ),
196+ // new BootstrapServiceRegistryBuilder().applyClassLoaderService( classLoaderService ).build(),
190197 singletonList (MockJdbcServicesInitiator .INSTANCE ),
191198 emptyList (),
192199 emptyMap ()
You can’t perform that action at this time.
0 commit comments