Panache query projection doesn't work on time field type #26907
Unanswered
haya-hammoud
asked this question in
Q&A
Replies: 2 comments
-
/cc @FroMage, @loicmathieu |
Beta Was this translation helpful? Give feedback.
0 replies
-
I managed to find a workaround by changing the constructor parameter type to Date but it feels like a hack. public AppointmentTime(Date time) {
this.time = new Time(time.getTime());
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
i'm using Hibernate ORM with Panache and following Quarkus documentation for query projection
https://quarkus.io/guides/hibernate-orm-panache#query-projection
and here is my code
The projection class looks like
And here how i'm trying to select from db
i've got this error
Beta Was this translation helpful? Give feedback.
All reactions