-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [Resolved] No JDBC Driver class was specified error
PostPosted: Thu Oct 29, 2009 11:09 am 
Newbie

Joined: Mon Oct 26, 2009 3:38 pm
Posts: 18
I don't understand why I'm getting:
Quote:
DriverManagerConnectionProvider:75 - no JDBC Driver class was specified by property hibernate.connection.driver_class


In in my lib folder I have postgresql-8.4-701.jdbc4.jar (which I renamed postgresql.jar) and in my persistence.xml file I specify it:
Code:
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
<property name="hibernate.connect.driver_class" value="org.postgresql.Driver"/>
<property name="hibernate.connection.url" value="jdbc:postgresql://xxx.xxx.xxx.xxx:5432/sample"/>


Anyone know what I did wrong or what I'm missing? Thanks.

Answer: It was a stupid mistake; I typed "connect" instead of "connection."


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.