erikmarbad Posted May 5, 2022 Share Posted May 5, 2022 I have the following:<parameter name="NOM_PROD" class="java.util.Collection"><defaultValueExpression><![CDATA[""]]></defaultValueExpression></parameter>and in the sql I have:$X{IN,IIM.IDESC, NOM_PROD}When I use this with a multiple selection query it works fine, but when it comes to a single selection it doesn't, why is that? Link to comment Share on other sites More sharing options...
vchiem Posted May 11, 2022 Share Posted May 11, 2022 If you mean single select input controls then they return a single value and cannot be a collection type ($X), rather the $P be used. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now