|
|
|
@ -2034,9 +2034,10 @@ NOTE: You can output the schema creation by enabling the `org.hibernate.SQL` log
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
(nothing to do with Spring).
|
|
|
|
|
startup if Hibernate creates the schema from scratch (that is if the `ddl-auto` property
|
|
|
|
|
is set to `create` or `create-drop`). 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 (nothing to do with Spring).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[howto-initialize-a-database-using-spring-jdbc]]
|
|
|
|
|