Report fails with invalid parameter: Unknown column name
After importing RAP from lower environment, there is an issue executing a report which queries an external database table. The database table that is queried exists.
Fails with error message "An error occurred on executing the query for the report definition. Column named <column name> was not found in SQL columns or embedded object.
Invalid parameter: Unknown column name <column name>. ERRORCODE=-4460,SQLSTATE=null"
Steps to Reproduce
Run the report.
A defect or configuration issue in the operating environment. The external database datasource does not have the connection property, useJDBC4ColumnNameAndLabelSemantics, set. When using a DB2 JDBC driver which uses JDBC 4.0 standards, this property needs to be set for the database query to handle column labels correctly.
Make the following change to the operating environment:
In the datasource, set the connection property, useJDBC4ColumnNameAndLabelSemantics=2.
0% found this useful