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