Alias of the fields of a HQL query

Hello, everybody!

I hava a database where the fields are named like name_field. In iReport i have to do my querys like this:

SELECT t.nameField AS nameField FROM TABLE t

But in JasperReport Studio i have to do this to work:

SELECT t.name_field AS nameField FROM TABLE t

I have a lot of projects that pass parameters with querys using the method of iReport, there's a way to change it in JasperReport Studio?

Thanks!

alex.gomes.sis's picture
Joined: Sep 24 2012 - 5:37am
Last seen: 2 months 3 weeks ago

0 Answers:

No answers yet
Feedback
randomness