jasper reports - pass dynamic SQL or resultset

T

timasmith

Hi,

I have a report which is generated with

JasperPrint jasperPrint =
JasperFillManager.fillReport(reportFile, new HashMap(),
Database.getConnection());

The SQL is embedded in the report but based upon the parameters entered
prior to report generation I would like to either

a) pass in the new SQL

b) pass in a resultset such that I have already executed the SQL

Anyone familiar with Jasper reports?

thanks!

Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top