Is it possible to generate the SQL query that will be executed when generating the report? I found a way to get the query with the parameters, like this final JasperReport report = JasperCompileManager.compileReport(layoutStream);String query = report.getQuery().getText();[/code]What I want to achieve is to get the query with the parameter values inserted. Is there a way to achieve this? I'm using version 6.1.0 but I can probably upgrade if it's necessary.