lilyjung Posted January 19, 2007 Share Posted January 19, 2007 Does anyone know where I can find examples and documentation on the JRHibernateListDataSource, JRHibernateQueryExecuter, and other Hibernate related classes? I went to the Hibernate website, but they didn't use these classes for their Jasper Reports examples. Link to comment Share on other sites More sharing options...
slaisne Posted January 19, 2007 Share Posted January 19, 2007 By default, if you use HQL query language, JasperReports use JRHibernateQueryExecuterFactory (see config file)But you've a sample in demo files Link to comment Share on other sites More sharing options...
lilyjung Posted January 19, 2007 Author Share Posted January 19, 2007 Sorry, I am really new to this. Which config file do you mean? I do see the HibernateApp.java in the samples. Also, how about an example for JRHibernateListDataSource? I have search all over the web, but can't find any usage of this. Thanks in advance. Link to comment Share on other sites More sharing options...
lilyjung Posted January 19, 2007 Author Share Posted January 19, 2007 Sorry, I am really new to this. Which config file do you mean? I do see the HibernateApp.java in the samples. Also, how about an example for JRHibernateListDataSource? I have search all over the web, but can't find any usage of this. Thanks in advance. Link to comment Share on other sites More sharing options...
lilyjung Posted January 19, 2007 Author Share Posted January 19, 2007 Sorry, I am really new to this. Which config file do you mean? I do see the HibernateApp.java in the samples. Also, how about an example for JRHibernateListDataSource? I have search all over the web, but can't find any usage of this. Thanks in advance. Link to comment Share on other sites More sharing options...
lilyjung Posted January 19, 2007 Author Share Posted January 19, 2007 Sorry, I am really new to this. Which config file do you mean? I do see the HibernateApp.java in the samples. Also, how about an example for JRHibernateListDataSource? I have search all over the web, but can't find any usage of this. Thanks in advance. Link to comment Share on other sites More sharing options...
slaisne Posted January 19, 2007 Share Posted January 19, 2007 All information you need is in the javadoc of JRHibernateQueryExecuterFactory. If you need other values than default, set them in a 'jasperreports.properties' file.JasperReports find it in the classpath. 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