I have the following (partial) SQL query:
Code:
... and OrderItem.id in (select oit.id from :cardserialNos csnt, OrderItem oit where csnt.THING between oit.cardSeqStartRange and oit.cardSeqEndRange) and ...
Furthermore, I have the following java code to support it:
Code:
idsQuery.setParameterList("cardserialNos", criteria.getCardSerialNos());
My issue is, that in order to use the parameterlist as a pseudo-table the way I am above (taking the Cartesian product with the queried table so I can find out which card sequence ranges surround ANY of the cardserialNos), I need to learn what needs to go in the SQL query rather than csnt.THING.
Basically:
What is the proper column name of the hibernate parameter list pseudo-table?