Jump to content
We've recently updated our Privacy Statement, available here ×

Hibernate data source problem


eau

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...