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.
0 Answers:
No answers yet
You need to explain this again, because it is not clear to me what the problem is.
On one hand you say you need to produce a single PDF for all accounts, but then you are concerned it would be about millions of accounts and probably too big.
So do you want a single PDF, no matter how big, or what?