I found a really useful function today, allowing you to supply a List as a parameter, and use in your SQL Query with IN or NOT IN.
Supply the parameter as a List:
<parameter name="myList" isForPrompting="true" class="java.util.List"/>
Then use the the function
$X{IN, <column>, <param>}
For example
<queryString><![CDATA[SELECT * FROM mytable WHERE $X{IN, mycolumn,myList}]]> </queryString>
Very useful!
Thanks! Just what I was looking for!
Thanks a ton, exactly what I needed.