Jump to content
JasperReports Library 7.0 is now available ×

Calling stored function in queryString


Recommended Posts

By: agalper - agalper

Calling stored function in queryString

2003-05-11 23:40

I'd like to call a stored function that returns a ResultSet from within the queryString element of a JasperReport specification. The syntax would look like:

 

<queryString> { ? = call myStoredFunc($P{param1}, $P{param2}, $P{param3} } </queryString>

 

I've modified JRQueryExecuter to handle this.

 

Question: Is there a better way to do this that does not require modification of base JR code? I really want to keep the query specification in the report spec, so wrapping a ResultSet in a JRDataSource before sending off to the filler doesn't cut it.

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...