How to rename the fields of ejbql query in ireport?
I'm using iReport 3.7.3 with ejbql
connection. My problem is when I want to get the fields from the query, the ireport sets the name of the fields with "COLUMN_1", "COLUMN_2" even if I use the sentence "as" the ireport gets me that name to the fields. Here's an example of my query:
select doc.docId as DocumentID, doc.transa开发者_开发百科ctionDate as TransationDate from Document doc
- right-click on the field
- rename the field, e.g.
My_campo
- set description = COLUMN_1
精彩评论