Configure properly hibernate-jpamodelgen in Spring project

I’m trying to configure hibernate-jpamodelgen in Spring project but without any success. Metamodel classes for entity classes are not degenerated. I tried this POM configuration:

<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-jpamodelgen</artifactId>
  <version>5.4.3.Final</version>
  <optional>true</optional>
</dependency>

Full POM file:

https://pastebin.com/pUZLP7F4

Can you give em some advice where I might be wrong?

Leave a Reply

avatar
  Subscribe  
Notify of