Jump to content
Changes to the Jaspersoft community edition download ×

Hibernate & Classpath problems


mredz

Recommended Posts

I am getting an exception when trying to Test a Hibernate connection. My hibernate configuration is loaded ok. A dialog tells me that the test was successful but console output reports the following exception:

Exception: java.sql.SQLException: No suitable driver

at java.sql.DriverManager.getConnection(DriverManager.java:545)

at java.sql.DriverManager.getConnection(DriverManager.java:140)

at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)

at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)

 

 

I have the relevant postgresql.jar file set in my classpath.

No fields are accessible.

 

SQL connections work fine.

 

Could somebody offer a pointer?

Post edited by: mredz, at: 2006/09/14 07:16

Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...