iReport getting Date Field from bean problem

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email with questions or issues requiring TIBCO review or response.

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: 8 years 2 months 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: 3 years 3 weeks ago

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

belhouene.tarek - 8 years 3 months ago