This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Jasper Reports with Multiple Datasources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Jasper Reports with Multiple Datasources" Watch "Jasper Reports with Multiple Datasources" New topic

Jasper Reports with Multiple Datasources

Saathvik Reddy
Ranch Hand

Joined: Jun 03, 2005
Posts: 228

I am newbie to Jasper Reports. I have to generate a report with multiple datasources. Let's say i have two datasources ds1 and ds2.

I want to generate a report of this type
ds1--> data1
ds1--> data2
ds1--> data3


I tried to use subreports but its generating the report of this type which is what i dont want

ds1--> data1
ds2--> data1
ds1--> data2
ds2--> data2

Can any please let me know how can we acheive this?

Thanks in advance,
I agree. Here's the link:
subject: Jasper Reports with Multiple Datasources
jQuery in Action, 3rd edition