Unable to view items in Basic and Advanced tab in section
Unable to view items in the Basic and Advanced tab in a section. However, the Layout tab displays correctly.
( rd.queryexec.SqlQueryExecutor) ERROR - An error occurred on executing the query for the report definition - There was a problem getting a list: from Database: 0 SQLState: state
DatabaseException caused by prior exception: com.microsoft.sqlserver.jdbc.SQLServerException:| SQL Code: 0 | SQLState: state
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: TimeoutException
Steps to Reproduce
On click of the Advanced or Basic option, the SQL query triggered to provide the Controls list from the database takes time to retrieve the results. Hence, the query time out database exceptions occur and controls do not display in the UI.
For SQL Server databases and report definition rules that have Rules Resolution enabled, Pega Platform generates a query with an Inner Join that results in a slow execution plan or query time out.
An efficient solution is to use an Inner Merge Join for the query. For this, set the following Dynamic System Setting (DSS) to configure the Pega Platform to use an Inner Merge Join query:
- Setting Purpose: reporting/useMergeHintForRRquery
- Owning Ruleset: Pega-Reporting
- Value: True
0% found this useful