Last active
November 5, 2017 11:26
-
-
Save TopekoX/f7beab3128833c0f4fdf30cea767f7b9 to your computer and use it in GitHub Desktop.
Configuration for Hibernate 5 integration Spring MVC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DB properties | |
db.driver=com.mysql.cj.jdbc.Driver # org.postgresql.Driver | |
db.url=jdbc:mysql://localhost:3306/demospring # jdbc:postgresql://localhost:5432/springdemo | |
db.username=root | |
db.password=xxxxxx | |
# Hibernate properties | |
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect # org.hibernate.dialect.PostgreSQLDialect | |
hibernate.show_sql= true | |
hibernate.format_sql= true | |
hibernate.hbm2ddl.auto=update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment