• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JasperReport and a to-many relation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: JasperReport and a to-many relation
      • From: Theodore Petrosky <email@hidden>
References: 
 >JasperReport and a to-many relation (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: JasperReport and a to-many relation
  • Next by Date: Re: JasperReport and a to-many relation
  • Previous by thread: JasperReport and a to-many relation
  • Next by thread: Re: JasperReport and a to-many relation
  • Index(es):
    • Date
    • Thread