![](http://content.invisioncic.com/i328763/set_resources_3/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
supernerd
-
Posts
2 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by supernerd
-
-
hello,
I am trying to set a list of integers as a default parameter in ireport.
For example - as I would here:
query ...
where
product_id in (1100, 1210)This is working fine.
But if I try,
My parameter - mycollection (type - collection)
query ...
where
$X(IN, product_id, mycollection)default value, as per the above messages I am cut/paste exactly "java.util.Arrays.asList(new java.lang.Integer[]{new java.lang.Integer(1), new java.lang.Integer(2)})" into the default value expression ...
However this is not working - am I doing something wrong?
help appreciated
using $X in the query, Parameter type not supporte
in Products
Posted
managed to find something that works:
Arrays.asList(new Integer(1100), new Integer(1210))
or more simple
Arrays.asList(1100,1210)