I tried to enable metamodel generator. To do so, I followed instructions here:
https://docs.jboss.org/hibernate/orm/6.2/userguide/html_single/Hibernate_User_Guide.html#tooling-modelgen
and https://hibernate.org/orm/tooling/.
I created a demo spring boot project and it worked there.
Then I did the same in the jmix project, but it just ignored these settings.
All I did is I have added the following lines to build.gradle:
plugins {
id("org.hibernate.orm") version "6.3.0.CR1"
}
dependencies {
// https://mvnrepository.com/artifact/org.hibernate.orm/hibernate-jpamodelgen
annotationProcessor 'org.hibernate.orm:hibernate-jpamodelgen:6.2.5.Final'
}