iReport getting Date Field from bean problem


i have to generate my report from a list of bean as a data source, in my bean i have a field of Date Type

My problem is that  when i do my Report query and i put the class name JavaBean Data Source -> Class Name-> read attributesthe field of type Date that exist in my bean doesn't appear, although the other  fields in my bean was all  read.

Can you help me please ?? Thank you.



belhouene.tarek's picture
Joined: Apr 25 2013 - 2:01am
Last seen: 7 years 1 month ago

1 Answer:


Should work. Check if there's any error messages. Especially check if the date format is correct.

If you're still having problem and just can't figure it out, try saving it as a String.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 11 months ago

i checked there is no error, this is my field declaration in my bean :
public Date stato = new Date();

belhouene.tarek - 7 years 1 month ago