Created
July 20, 2016 07:44
-
-
Save pedroxs/9bbbce902b88877db87fd8e67f31a8a2 to your computer and use it in GitHub Desktop.
Spring Boot application properties to check JPA annotations agaisnt created DB model.
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
--- | |
# Test DB profile | |
spring: | |
profiles: db | |
jpa: | |
database: MYSQL | |
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect | |
generate-ddl: true | |
hibernate: | |
ddl-auto: create-drop | |
naming-strategy: org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy | |
datasource: | |
driver-class-name: com.mysql.jdbc.Driver | |
url: jdbc:mysql://localhost:3306/db_name?useUnicode=true&characterEncoding=utf8&useSSL=false | |
username: user | |
password: pwd | |
flyway: | |
enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment