Hi, i need to take the resulset from report with parameters. with getquery() i get the sql text but the parameters are not compiled with data. this is my code: JasperDesign jasperDesign = JRXmlLoader.load(reportFile); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); System.out.println(jasperReport.getQuery().getText() ); for example if my parameter is "RAGIONE_SOCIALE" and i input "MATTEO" now return: SELECT.... WHERE (RagSoc LIKE '%' + $P{RAGIONE_SOCIALE} + '%' OR $P{RAGIONE_SOCIALE} IS NULL) i want: SELECT.... WHERE (RagSoc LIKE '%MATTEO%' OR $P{RAGIONE_SOCIALE} IS NULL) Tanks in advance.