rkm258 Posted September 21, 2009 Share Posted September 21, 2009 Hi, I was wondering if the latest release of JasperReports API has the support for filling the report using JasperFillManager, using the Hibernate 3 annotations. I have several database entities (.java files) that are annotated using the latest release of hibernate 3. Hence there are no .hbm.xml files anymore. Now using the JasperFillManager and Hibernate Session instance sent using the jasper report parameter JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION, will JasperReport be able to execute the HQL query defined in the JRXML file. I'am new to using Hibernate in JasperReport, but have extensive knowledge and expertise in JasperReport, IReport in general, hence any advice will be appreciated.ThanksRam Link to comment Share on other sites More sharing options...
lucianc Posted September 22, 2009 Share Posted September 22, 2009 rmukkamallaWrote: Hi, I was wondering if the latest release of JasperReports API has the support for filling the report using JasperFillManager, using the Hibernate 3 annotations. I have several database entities (.java files) that are annotated using the latest release of hibernate 3. Hence there are no .hbm.xml files anymore. Now using the JasperFillManager and Hibernate Session instance sent using the jasper report parameter JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION, will JasperReport be able to execute the HQL query defined in the JRXML file. I'am new to using Hibernate in JasperReport, but have extensive knowledge and expertise in JasperReport, IReport in general, hence any advice will be appreciated. Thanks Ram My advice is to try it and see whether it works. Wouldn't that be better than me telling you that it works, and possibly being wrong?Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now