Created
November 8, 2016 00:26
-
-
Save chrisbay/59b530ea924ad1a4d150c69778203483 to your computer and use it in GitHub Desktop.
application.properties for hello, spring app
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
# enable hot swapping | |
spring.thymeleaf.cache = false | |
# Database connection settings | |
spring.datasource.url=jdbc:mysql://localhost:3306/hello | |
spring.datasource.username=hello | |
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 | |
logging.level.org.springframework.web = DEBUG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment