Created
June 25, 2019 18:12
-
-
Save kevinhooke/a6edcfaf0142823c3640636b2812f6a0 to your computer and use it in GitHub Desktop.
Spring boot data init options
This file contains 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
#ignore .sql init files | |
spring.datasource.initialize=false | |
#specify which datasource init files to use, e.g. for Derby | |
spring.datasource.platform=derby | |
spring.jpa.hibernate.ddl-auto=create-drop | |
#init file examples: | |
#generic ddl file | |
data.sql | |
#init file only for derby, when spring.datasource.platform=derby | |
data-derby.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment