Relative Content

Tag Archive for javajasper-reports

JasperFillManager.fillReport() of jasper is taking time due to which overall pdf performance is slow

Input to jasper is in JSON format and the data is sent via jsonQLDataSource.
We are using jasperSoft Studio 7.0.1 application to create jrxml files with latest jasper libraries 7.0.1. We are using compiled .jasper files in code so no runtime compilation time is there. RAM is >2GB in local and >8GB on server. Used timer to log data in log files and only below method is taking time. We require the data to finish printing in 4 to 6 seconds or less but its taking 12 to 15 seconds or more which is a lot of wait time for online application. PDF generated is of min 3 pages and max is of 8 pages containing yes no questions and applicant and family details. the jrxml reports we are using contains min 20 fields in 1 report and we have total 100 subreports not necessarily all will be used at a time in 1 pdf (Min 7 files used a time).

How to add a custom row in a table in jasperStudio

I have a table in my report developed with JasperStudio. I want a new row (applicable to every row) with a value only if this value is not empty. The problem is I can create only new column in my jasper table but no new row! One row represent a Article, and only if the field “description” is not empty for that particular article i want a new row under the article row with the article description.
At the moment the code is something like this:

completely blank report ireport5.6

I have a report with ireport5.6, before this report worked well for me using a data source. Now I want to generate the same report but without using a data source and sending the parameters directly. When I do this, the report is generated blank.