Hi there.
How can I use a parametrized query in the parawhere tag of a filter? I need to get a list of a values to show from another entity list.
If I write the following code it works:
<property name="testCode" caption="Code" paramWhere="{E}.code IN ('0123')))"/>
But I need to select a list of values from another table/entity based on a parameter.
In SQL this is what I need:
(SELECT code FROM E WHERE code IN (SELECT c FROM table2 WHERE c.user = 'asdasd'))
How can I do this with JPQL?