开发者

How to rename the fields of ejbql query in ireport?

开发者 https://www.devze.com 2023-01-08 06:12 出处:网络
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 se

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

精彩评论

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

关注公众号