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
f0b203f6
Commit
f0b203f6
authored
May 28, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc for schema creation
See gh-446
parent
9f9feeb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+3
-0
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+2
-0
No files found.
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
f0b203f6
...
@@ -1533,6 +1533,9 @@ when switching from in-memory to a '`real`' database that you don't make assumpt
...
@@ -1533,6 +1533,9 @@ when switching from in-memory to a '`real`' database that you don't make assumpt
the existence of the tables and data in the new platform. You either have to set `ddl-auto`
the existence of the tables and data in the new platform. You either have to set `ddl-auto`
explicitly, or use one of the other mechanisms to initialize the database.
explicitly, or use one of the other mechanisms to initialize the database.
NOTE: You can output the schema creation by enabling the `org.hibernate.SQL` logger. This
is done for you automatically if you enable the <<boot-features-logging-console-output,debug mode>>.
In addition, a file named `import.sql` in the root of the classpath will be executed on
In addition, a file named `import.sql` in the root of the classpath will be executed on
startup. This can be useful for demos and for testing if you are careful, but probably
startup. This can be useful for demos and for testing if you are careful, but probably
not something you want to be on the classpath in production. It is a Hibernate feature
not something you want to be on the classpath in production. It is a Hibernate feature
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
f0b203f6
...
@@ -837,6 +837,8 @@ messages to the console you can start your application with a `--debug` flag.
...
@@ -837,6 +837,8 @@ messages to the console you can start your application with a `--debug` flag.
$ java -jar myapp.jar --debug
$ java -jar myapp.jar --debug
----
----
NOTE: you can also specify `debug=true` in your `application.properties`.
If your terminal supports ANSI, color output will be used to aid readability. You can set
If your terminal supports ANSI, color output will be used to aid readability. You can set
`spring.output.ansi.enabled` to a
`spring.output.ansi.enabled` to a
{dc-spring-boot}/ansi/AnsiOutput.Enabled.{dc-ext}[supported value] to override the auto
{dc-spring-boot}/ansi/AnsiOutput.Enabled.{dc-ext}[supported value] to override the auto
...
...
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