eau Posted December 12, 2007 Share Posted December 12, 2007 When I create a Hibernate connection under Data > Connections/Data Sources on iReport 2.0.2 and press the Test button, I don't get any responses. No messages in the output window neither. The Test button isn't doing anything. I'm using Hibernate 3.2.4.sp1 and updated the hibernate3.jar file in iReport/lib directory. I also added my webapp classes directory (WEB-INF/classes, where hibernate.cfg.xml is) and sqljdbc.jar driver to iReport via Options > Classpath. Thanks. Link to comment Share on other sites More sharing options...
necronet Posted December 12, 2007 Share Posted December 12, 2007 did you add your compile classes to iReport files?. You must add .class not the .java. Link to comment Share on other sites More sharing options...
eau Posted December 12, 2007 Author Share Posted December 12, 2007 Yes. The compiled .class files are in the WEB-INF/classes directory tree which has been added to the iReport's classpath. The problem is that the Test button is not doing anything, not even a single message in the output window or in a popup. If I took out WEB-INF/classes from the classpath, iReport complained about the missing hibernate.cfg.xml. That means iReport located the cfg file. 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