Has something changed recently with the Excel reporting engine. After upgrading from 9.63 to 24.1 our reports are running "successfully" but are not returning any data. While debugging I see that the simple method works:
${ppmdb.execQuery('SELECT username FROM KNTA_USERS WHERE ROWNUM<=100')}
...but this one no longer works:
${{ params = new("java.util.ArrayList");
sql = "SELECT username FROM KNTA_USERS WHERE ROWNUM<=100";
results = ppmdb.execQuery(sql, params.toArray());
return '';
}}
No errors are generated, and the sql statement built (our code is more complex) is fine. Just 0 rows are ever returned to the report.