Jump to content

question about parameter usage


juvenzh

Recommended Posts

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?

thanks

JZ

 

 



Post Edited by juvenzh at 01/12/2012 10:00
Link to comment
Share on other sites

  • Replies 0
  • 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...