File tree 1 file changed +9
-2
lines changed
tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 21
21
import org .hibernate .boot .model .naming .PhysicalNamingStrategyStandardImpl ;
22
22
import org .hibernate .boot .model .relational .Database ;
23
23
import org .hibernate .boot .model .relational .SqlStringGenerationContext ;
24
- import org .hibernate .boot .registry .BootstrapServiceRegistryBuilder ;
25
24
import org .hibernate .boot .registry .classloading .internal .ClassLoaderServiceImpl ;
26
25
import org .hibernate .boot .registry .classloading .spi .ClassLoaderService ;
27
26
import org .hibernate .boot .registry .classloading .spi .ClassLoadingException ;
27
+ import org .hibernate .boot .registry .internal .BootstrapServiceRegistryImpl ;
28
28
import org .hibernate .boot .registry .internal .StandardServiceRegistryImpl ;
29
+ import org .hibernate .boot .registry .selector .internal .StrategySelectorImpl ;
29
30
import org .hibernate .boot .spi .BootstrapContext ;
30
31
import org .hibernate .boot .spi .EffectiveMappingDefaults ;
31
32
import org .hibernate .boot .spi .MappingDefaults ;
@@ -186,7 +187,13 @@ public Class<?> classForName(String className) {
186
187
}
187
188
};
188
189
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(),
190
197
singletonList (MockJdbcServicesInitiator .INSTANCE ),
191
198
emptyList (),
192
199
emptyMap ()
You can’t perform that action at this time.
0 commit comments