Skip to content

Commit 83cf348

Browse files
Grannathwilkinsona
authored andcommitted
Warn about Quartz dropping tables on restart
Closes gh-15295
1 parent ab39e50 commit 83cf348

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5999,9 +5999,10 @@ following example:
59995999
spring.quartz.jdbc.initialize-schema=always
60006000
----
60016001

6002-
NOTE: By default, the database is detected and initialized by using the standard scripts
6003-
provided with the Quartz library. It is also possible to provide a custom script by
6004-
setting the `spring.quartz.jdbc.schema` property.
6002+
WARNING: By default, the database is detected and initialized by using the standard scripts
6003+
provided with the Quartz library. These scripts drop existing tables, deleting all triggers
6004+
on every restart. It is also possible to provide a custom script by setting the
6005+
`spring.quartz.jdbc.schema` property.
60056006

60066007
To have Quartz use a `DataSource` other than the application's main `DataSource`, declare
60076008
a `DataSource` bean, annotating its `@Bean` method with `@QuartzDataSource`. Doing so

0 commit comments

Comments
 (0)