设定默认参数的时候,圈起来的地方选择了fx 即javascript synax就是js语法的意思,会报下面的错误
Caused by: org.eclipse.birt.report.data.adapter.api.AdapterException: An exception occurred during processing. Please see the following message for details:
Failed to prepare the query execution for the data set: DataSet_Comp_PolicyCannot convert the parameter value 2,008 to type class java.sql.Date.
Can not convert the value of 2008 to java.sql.Date type.
解决办法就是:把圈起来的部分换成ab|即constant就是常量的意思,这样就不会有错误了