-1

I am upgrading my hibernate project and hibernate dependencies from 3 to 5.2.13.Final and I am changing my code to build SessionFactory and i found some articles like first and second and all of them are using instance MetadataExtractorIntegrator.INSTANCE but I don't have this kind of class(MetadataExtractorIntegrator) in my dependencies ( maven project ) and can not find any dependency which is implementing this class. Can you help me which dependency do I need ?

1 Answers1

1

As you can see, MetadataExtractorIntegrator is class written in aricle you have mentioned. Just create such class and probably copy-paste it. What you need Integrator interface and that is included in Hibernate's ORM

https://github.com/hibernate/hibernate-orm/tree/master/hibernate-core/src/main/java/org/hibernate/integrator/spi

Antoniossss
  • 31,590
  • 6
  • 57
  • 99