Created
November 7, 2016 14:16
-
-
Save chrisbay/b95fe8bbe93986383728f0405101eaf1 to your computer and use it in GitHub Desktop.
application.properties for Spring Blogz assignment
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
# Disable Thymeleaf caching for hot-swapping of templates | |
spring.thymeleaf.cache = false | |
# Database connection settings | |
spring.datasource.url=jdbc:mysql://localhost:3306/blogz | |
spring.datasource.username=blogz | |
spring.datasource.password=launchcode | |
# Specify the DBMS | |
spring.jpa.database = MYSQL | |
# Show or not log for each sql query | |
spring.jpa.show-sql = false | |
# Hibernate ddl auto (create, create-drop, update) | |
spring.jpa.hibernate.ddl-auto = update | |
# Naming strategy | |
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy | |
# Use spring.jpa.properties.* for Hibernate native properties (the prefix is | |
# stripped before adding them to the entity manager) | |
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment