aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
 
Similar Threads
Problem in passing JRBeanCollectionDataSource as parameter to jasperreport
Error loading object from file in JasperReport Can any one Help...
Passing an Array to iReport
org.xml.sax.SAXException when generating Jasper report
Servlet can't find the specified path