speedment / jpa-streamer

JPAstreamer is a lightweight library for expressing JPA queries as Java Streams
GNU Lesser General Public License v2.1
344 stars 35 forks source link

Metamodel classes not generated properly when using hibernate validator with quarkus #368

Closed iwe-7 closed 1 year ago

iwe-7 commented 1 year ago

Describe the bug Metamodel classes are not generated properly when using hibernate validator with quarkus.

Expected behavior Correct generation of $.java metamodel classes

Actual behavior It seems that the paths of @jakarta.validation.constraints Annotations get mixed into the imports of other classes during metamodel generation: image

How To Reproduce

Build tool Maven 3.9.2

JPAStreamer version JPAStreamer 3.0.2Final

JPA Provider Quarkus Hibernate Panache 3.2.0.Final

Java Version Java 17.0.6

julgus commented 1 year ago

Thank you for reporting this, I will have a look ASAP!

julgus commented 1 year ago

I've identified the issue, which should be fixed in the release planned for this week. Thanks again for reporting, it was really helpful.

julgus commented 1 year ago

Now that the new release is out, would you be able to try the latest Quarkus version 3.0.3.Final to confirm that this has been fixed?

iwe-7 commented 1 year ago

Tested it with Quarkus 3.2.0 and quarkus-jpastreamer 3.0.3.Final and it works! Thank you for the quick fix