parent
9f9feeb00c
commit
f0b203f6da
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue