开发者

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


  1. right-click on the field
  2. rename the field, e.g. My_campo
  3. set description = COLUMN_1
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜