I need to export jasper report to pdf in spring batch application.
Scenario: using one jasper report layout and text file (data) have multiple rows (consider each row for single(account)) used as a data to fill report. In spring batch application i have to create only one pdf for all rows(accounts). using exportReportToPdfFile() it will export all accounts at a time , however i have to use batch processing and need to write pdf row by row(accounts). Is there any way to do so?
I have checked with batch mode exporting where exporter loops through this list of reports and produces a single document from them. but what if we have millions of reports it wont be applicable.