@@ -231,22 +231,15 @@ public static List<Binding<JaxbEntityMappingsImpl>> transform(
231
231
final List <Binding <JaxbEntityMappingsImpl >> transformations = XmlPreprocessor .preprocessHbmXml ( hbmXmlBindings , transformationState );
232
232
233
233
// build and perform a pass over the boot model building the rest of the transformation-state
234
- BootModelPreprocessor .preprocessBooModel (
235
- hbmXmlBindings ,
236
- bootModel ,
237
- serviceRegistry ,
238
- transformationState
239
- );
234
+ BootModelPreprocessor .preprocessBooModel ( bootModel , transformationState );
240
235
241
236
// now we are ready to fully build the mapping.xml transformations
242
237
for ( int i = 0 ; i < hbmXmlBindings .size (); i ++ ) {
243
238
final HbmXmlTransformer hbmXmlTransformer = new HbmXmlTransformer (
244
239
hbmXmlBindings .get ( i ),
245
240
transformations .get ( i ),
246
241
transformationState ,
247
- bootModel ,
248
- unsupportedFeatureHandling ,
249
- serviceRegistry
242
+ unsupportedFeatureHandling
250
243
);
251
244
252
245
hbmXmlTransformer .performTransformation ();
@@ -260,10 +253,8 @@ public static List<Binding<JaxbEntityMappingsImpl>> transform(
260
253
private final Binding <JaxbEntityMappingsImpl > mappingXmlBinding ;
261
254
262
255
private final TransformationState transformationState ;
263
- private final MetadataImplementor bootModel ;
264
256
265
257
private final UnsupportedFeatureHandling unsupportedFeatureHandling ;
266
- private final ServiceRegistry serviceRegistry ;
267
258
268
259
// todo (7.0) : use transformation-state instead
269
260
private final Map <String ,JaxbEmbeddableImpl > jaxbEmbeddableByClassName = new HashMap <>();
@@ -274,15 +265,11 @@ private HbmXmlTransformer(
274
265
Binding <JaxbHbmHibernateMapping > hbmXmlBinding ,
275
266
Binding <JaxbEntityMappingsImpl > mappingXmlBinding ,
276
267
TransformationState transformationState ,
277
- MetadataImplementor bootModel ,
278
- UnsupportedFeatureHandling unsupportedFeatureHandling ,
279
- ServiceRegistry serviceRegistry ) {
268
+ UnsupportedFeatureHandling unsupportedFeatureHandling ) {
280
269
this .hbmXmlBinding = hbmXmlBinding ;
281
270
this .mappingXmlBinding = mappingXmlBinding ;
282
271
this .transformationState = transformationState ;
283
- this .bootModel = bootModel ;
284
272
this .unsupportedFeatureHandling = unsupportedFeatureHandling ;
285
- this .serviceRegistry = serviceRegistry ;
286
273
}
287
274
288
275
0 commit comments