sharikaep Posted December 22, 2014 Posted December 22, 2014 Is it even possible?Can I fetch encrypted data from DB and decode it using some algorithm within java before displaying it in the report?
darth_fader Posted December 25, 2014 Posted December 25, 2014 With some creative thinking ANYTHING IS POSSIBLE! Yes, of course you can decrypt the data in the Java layer and make that decrypted data available to Jasper. Jasper has a variety of datasources available, but I think the best approach in this situation would be to use a JavaBean collection as the data source. Pull the data you need, and during the decryption process populate your JavaBean collection, then reference that as the report's datasource.Good luck! http://jasperreports.sourceforge.net/sample.reference/datasource/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now