Re: JasperReport and a to-many relation
Re: JasperReport and a to-many relation
- Subject: Re: JasperReport and a to-many relation
- From: Ralf Schuchardt <email@hidden>
- Date: Tue, 08 May 2012 17:51:18 +0200
Am 08.05.2012 um 17:14 schrieb Theodore Petrosky:
> When I print my iReport and use a field name that refers to my to-many relation, I get:
>
> com.webobjects.eocontrol._EOCheapCopyMutableArray[1259578d]
>
> If I read this correctly, the JRDataSource doesn't have the array, it has the item that would fault to get the referred to items.
>
> So I need to create a second JRDataSource with this query to feed to the JasperReport.
>
> Anyone have experience with this?
Yes, we create JRDataSources for these relationships and pass them as parameters to JasperReport. In the main report those datasources are then passed to subreports to create the actual output.
Ralf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden