yael Posted February 14, 2007 Share Posted February 14, 2007 How can I check in the xml file this:If( $P{status_id} != 0) then to add WHERE filter.else don't use the WHERECode:<parameter name="status_id" class="java.lang.Integer" /> <queryString><![CDATA[sELECT task_id,status_id FROM tasks WHERE status_id = $P{status_id}]]></queryString>:whistle: 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