@QueryInit(*.*) not working with mongodb #3613
-
I'm currently using Java 17 with below configuration:
Here, TimeRange class is not generated However, I saw that by default querydsl only generate Q classes at first two levels. I'd like querydsl to generate more deeply classes with @QueryInit("*") annotation, but it seems like querydsl ignores the annotation and doesn't generate classes properly (all first two levels classes are generated without any error message) appreciated if anyone could help me figure out the issue! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turns out I have to use @QueryEmbeddable instead of @QueryInit, but I'm confused with the doc. |
Beta Was this translation helpful? Give feedback.
It turns out I have to use @QueryEmbeddable instead of @QueryInit, but I'm confused with the doc.