Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
3c761cfc
Commit
3c761cfc
authored
Jan 31, 2019
by
Matthias Stock
Committed by
Stephane Nicoll
Feb 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish 'Database Initialization' section
See gh-15859
parent
d368e9c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
howto.adoc
...oot-project/spring-boot-docs/src/main/asciidoc/howto.adoc
+3
-1
No files found.
spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
3c761cfc
...
...
@@ -2186,6 +2186,7 @@ reused to provide similar features to what the auto-configuration does with a si
== Database Initialization
An SQL database can be initialized in different ways depending on what your stack is.
Of course, you can also do it manually, provided the database is a separate process.
It is recommended to follow a single schema generation approach.
...
...
@@ -2195,7 +2196,8 @@ JPA has features for DDL generation, and these can be set up to run on startup a
database. This is controlled through two external properties:
* `spring.jpa.generate-ddl` (boolean) switches the feature on and off and is vendor
independent.
independent. An appropriate configuration is passed to the available JPA implementation
(e.g. Hibernate).
* `spring.jpa.hibernate.ddl-auto` (enum) is a Hibernate feature that controls the
behavior in a more fine-grained way. This feature is described in more detail later in
this guide.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment