Jump to content
Changes to the Jaspersoft community edition download ×

Can't use SQL with dot in the column name...

2005 IR Help

Recommended Posts

By: Michael Bauer - mbabauer

Can't use SQL with dot in the column name...

2004-08-31 14:06

I have an SQL uses several column names as table.column due to some ambiguous column names between the two joined tables. If I do this, JasperReports returns the following:


private JRFillField field_inv4.asm_act_plan_composite.comp_plan_id = null;


net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

See error messages above.




Because the field has a '.' in it (actually there are two dots), when the Java class is compiled, the compiler blows up. Any thoughts on how to get around this?




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