juvenzh Posted January 12, 2012 Share Posted January 12, 2012 I'm using jasperserver to generate report. There are some existing java library in our system to retrieve data. So I want to use JavaBean datasource or Custom Datasource to wrap the existing library.Now the question :when I create a datasource in jasperserver, how to pass a parameter to the datasource? or pass parameter to the bean method? for there are 50M reccords in the datasource , can the static method to retrieve the JRDataSource has parameters? such as createDatasource($P{customerState}) ?or the bean Method like get($P{customerState}) ?or some other solution?thanksJZ Post Edited by juvenzh at 01/12/2012 10:00 Link to comment Share on other sites More sharing options...
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