jpamodelgen doesn't generate meta model

Description

Here my related pom.xml snippet:

As you can see, I'm using lombok + mapstruct + japmodelgen.

My problem is that metamodel is not generated but I'm not getting any reason or message about. It seems it's failing silently.

My entity class is annotated using javax.persistence.* annotations:

I've also tested with several configurations of maven-compiler-plugin:

However, static meta model class `QdCF_` is not generated:

 

After having buit:

I’ve only been able to get above message: [INFO] Hibernate JPA 2 Static-Metamodel Generator 6.1.3.Final. Nothing more.
I don't quite figure out what I'm doing wrong...

Any ideas?

Could I enable some kind of additional helping jpamodelgen logging?

Now, I’ve also tried to use: hibernate-enhance-maven-plugin, but it keeps without generating metamodel. I’ve created this repository with my code in order to you could reproduce behavior.

Activity

Show:

Andrea Boriero October 5, 2022 at 6:47 AM

Hi ,

Hibernate Reactive requires Hibernate ORM 5.6, you cannot use 6.

Rejected

Details

Assignee

Reporter

Components

Affects versions

Priority

Created October 4, 2022 at 7:44 AM
Updated December 3, 2024 at 9:06 AM
Resolved October 12, 2022 at 10:04 AM