-
Hi I'm struggling with an issue where I need to find customers in my database where the call is passed a list of Ids. Using the Panache Active Record I'm trying to use the find() or the list() but it fails to find anything.
The SQL executed is somewhat problematic, using a call with
Note the forth argument... Also I haven't found any documentation on how to retrieve records like this... Maybe there're other alternatives or I'm doing something wrong? Thx Quarkus 3.0.4.Final is used |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 2 replies
-
/cc @FroMage (panache), @loicmathieu (panache) |
Beta Was this translation helpful? Give feedback.
-
I'm using a PostgreSQL db where I can execute Howver when running the query in HQL:
I get nothing back The logs:
|
Beta Was this translation helpful? Give feedback.
-
Can you debug or print the list that you pass to the query, just to make sure it's not the REST layer giving you an empty list? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
OK thanks. This looks like an ORM bug, no, @Sanne or @yrodiere ? |
Beta Was this translation helpful? Give feedback.
-
Bug reported with demo repo |
Beta Was this translation helpful? Give feedback.
-
OK, we can close the discussion, it's a bug. Thanks everyone. |
Beta Was this translation helpful? Give feedback.
-
If REST returned in JSON it works fine |
Beta Was this translation helpful? Give feedback.
OK, we can close the discussion, it's a bug. Thanks everyone.