Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No JDBC Driver class was specified?

 
Dan King
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand why I'm getting:
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:


Anyone know what I did wrong or what I'm missing? Thanks.
 
Jack Tol
Greenhorn
Posts: 24
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are using "hibernate.connect.driver_class" instead of "hibernate.connection.driver_class", hence the error.
 
Dan King
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jack Tol wrote:You are using "hibernate.connect.driver_class" instead of "hibernate.connection.driver_class", hence the error.


Wow... do I feel foolish; I can't believe I missed that. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic