This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Problem in passing JRBeanCollectionDataSource as parameter to jasperreport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic
Author

Problem in passing JRBeanCollectionDataSource as parameter to jasperreport

Hindusthan Kamal
Greenhorn

Joined: Jul 26, 2010
Posts: 13
I had created a java class which has array list, I has passed the array list as JRBeanCollectionDataSource to jasper report as



The error I am facing is

net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : new JRBeanCollectionDataSource(sub_para)


I think the error is in jasper report, I am using ireport tool to design the reports

My question is how to create a new parameter in the main report, and how to pass the parameter to sub report..

Please help me to solve this...



Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Please don't post the same question on more than one forum.

I'm not sure what this has to do with ORMs so please continue any discussion in your other topic.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
GeeCON Prague 2014
 
subject: Problem in passing JRBeanCollectionDataSource as parameter to jasperreport