Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Report fails with invalid parameter: Unknown column name

SA-15368

Summary



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.


Error Messages



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.


Root Cause



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.

Resolution



Make the following change to the operating environment: 

In the datasource, set the connection property, useJDBC4ColumnNameAndLabelSemantics=2.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us