This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using jasper report with hibernate. From hibernate i get List object which i pass to JRBeanCollectionDataSource object and fill the report. Code: JRBeanCollectionDataSource ds = new JRBeanCollectionDataSource(reportdata); JasperPrint print=JasperFillManager.fillReport(report,params,ds);
But when the report is generated it shows only first record. my arraylist contains more than one objects(DTOs).Still report shows one record only! Can you help me?
I am also working on the same kind of application(spring+hibernate using jasper reports). Can you please post the xml files(jrxml) and the source code. I am not able to understand how to get the List in to a formatted report(html or csv format).
Do we need to generate the jrxml file dynamically? This is the first time i am working on jasper reports.