Jump to content
JasperReports Library 7.0 is now available ×

JasperPrint retrieved slowly


2005 IR Help

Recommended Posts

By: mimisam - mimisam

JasperPrint retrieved slowly

2004-05-17 20:22

I used ireport to generate xml and jasper files for my reports. I want to link those reports with my program, so I tried to retrieve JasperPrint using datasource which contains more than 30000 records. Getting the datasource took ard 3 seconds but getting the JasperPrint took more than a min.

 

JasperPrint jasperprint=null;

JRResultSetDataSource ds = getDataSource();

jasperPrint = JasperManager.fillReport(filename, null, ds);

JRViewer jrv = new JRViewer(jasperPrint);

 

It took a long time before i can view the report. How can i speed up the process?

Thanks!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...