Reputation: 344
When I want to add an database connection in Hibernate there are no drivers. I selected Database connection -> "New" then "Generic JDBC" and then there are no drivers listed:
Does anybody know how to add there a driver for PostgreSQL?
Thanks in advance!
Upvotes: 0
Views: 463
Reputation: 237
You can download the Postgresql JDBC Driver from here. Then clic the button on the right of Driver combo in "New connection profile" and choose the Postgresql JDBC driver you have downloaded. See Creating a Driver Definition at Eclipse help webpage.
Upvotes: 1
Reputation: 1702
Refer this tutorial . I think you want to create pojo class from the db tables..You can use Hibernate or JPA entities .
Upvotes: 1