This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
 
Similar Threads
Passing an Array to iReport
Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
Error loading object from file in JasperReport Can any one Help...
org.xml.sax.SAXException when generating Jasper report
Servlet can't find the specified path