How to correctly pass a SQL query as parameter in Jasper Reports?
问题 I've looked into all other questions regarding this topic and I followed all steps mentioned there, however I'm still getting an error when trying to pass an entire SQL statement as Parameter. This is my SQLQuery Parameter: <parameter name="SQLTag" class="java.lang.String"> <defaultValueExpression><![CDATA["SELECT * FROM REPORT_VER WHERE TAG BETWEEN $P{Von} AND $P{Bis}"]]></defaultValueExpression> </parameter> I've checked it and the SQL works perfectly fine when passed directly into the