Jump to content
We've recently updated our Privacy Statement, available here ×

JRResultSetDataSource


slopez01

Recommended Posts

I've scoured the internet, not sure if I'm looking for the right information.  Any information is greatly appreciated.

 

My challenge:

Some of the fields that I'm retrieving from the database are encrypted.  Decrypting the data is not a problem.  My thought is that I could extend JRResultSetDataSource and override the getFieldValue method.  In that method, everything would remain the same except for the section on processing a string, my decryption code would be placed in there. 

Is my idea a good one?  If so, how do I configure Jasper Reports Server to use the new JRResultSetDataSource to process data.  My thought is that the reports would stay the same and the server configuration would remain close to the same.

 

Thanks in advance

 

----------------------------------------------------------

investigated how tomcat does classloading, put the same package and class with my changes into the WEB-INF/classes folder and it worked.

 

Thanks

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...