Jump to content
Changes to the Jaspersoft community edition download ×

Using Groovy to generate dynamic query


rshankar

Recommended Posts

Using ireport 1.2.6.

 

Assume i have created a parameter TABLE (has a default value and is promptable) and then

when i try to create a groovy text expression parameter, say DYANAMIC such as below, and compile the report with

 

"select f1, f2 from " + P{TABLE}

I get an error:

 

net.sf.jasperreports.engine.JRException: Too many groovy classes were generated. Please make sure that you don't use Groovy features such as closures that are not supported by this report compiler.

 

Is this possible or not?

 

thanks,

 

Shankar

Link to comment
Share on other sites

  • 4 years later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

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