Thursday, 16 October 2014

DEFAULT HIBERNATE CONNECTION DETAILS FOR MYSQL & POSTGRESQL

mysql
-------

driver:  com.mysql.jdbc.Driver
diaelect: org.hibernate.dialect.MySQLDialect
database: mysql
username: root
password: ''
url: jdbc:mysql://localhost:3306/mysql

postgres
------------

driver: org.postgresql.Driver
dialect: org.hibernate.dialect.PostgreSQLDialect
database: hibernatedb
username: postgres
password: password
url: jdbc:postgresql://localhost:5432/postgres

No comments:

Post a Comment