Skip to content
Permalink
Browse files

Polish 'Database Initialization' section

  • Loading branch information
matthiasstock authored and snicoll committed Jan 31, 2019
1 parent d368e9c commit 3c761cfc966b8c944eff63773e6ebfd0dd9f573a
Showing with 3 additions and 1 deletion.
  1. +3 −1 spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc
@@ -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.

0 comments on commit 3c761cf

Please sign in to comment.
You can’t perform that action at this time.