preparing data before generating report


I'm using JasperReport to create a report from database.

But data are encrypted in database so I need to decrypt them in my main Java application first. So I can't use SQL as data source.

How should I provide my prepared records for report? should I implement JRDataSource by myself or there is a better way?



ariyanster's picture
Joined: Oct 30 2012 - 11:03am
Last seen: 9 years 8 months ago

1 Answer:

The JasperReports library lets you import any class you want and use in your jrxml expressions, would it make more sense to simply decrypt the data at the report design layer? 

ernestoo's picture
Joined: Nov 29 2010 - 11:59am
Last seen: 5 years 4 months ago