Skip to content

Commit 7664bab

Browse files
committed
Merge branch '3.3.x' into 3.4.x
Closes gh-43958
2 parents c7b54dc + 51889b8 commit 7664bab

File tree

1 file changed

+3
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/io

1 file changed

+3
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/io/quartz.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ spring:
3333

3434
WARNING: By default, the database is detected and initialized by using the standard scripts provided with the Quartz library.
3535
These scripts drop existing tables, deleting all triggers on every restart.
36-
It is also possible to provide a custom script by setting the configprop:spring.quartz.jdbc.schema[] property.
36+
To use a custom script, set the configprop:spring.quartz.jdbc.schema[] property.
37+
Some of the standard scripts – such as those for SQL Server, Azure SQL, and Sybase – cannot be used without modification.
38+
In these cases, make a copy of the script and edit it as directed in the script's comments then set configprop:spring.quartz.jdbc.schema[] to use your customized script.
3739

3840
To have Quartz use a javadoc:javax.sql.DataSource[] other than the application's main javadoc:javax.sql.DataSource[], declare a javadoc:javax.sql.DataSource[] bean, annotating its javadoc:org.springframework.context.annotation.Bean[format=annotation] method with javadoc:org.springframework.boot.autoconfigure.quartz.QuartzDataSource[format=annotation].
3941
Doing so ensures that the Quartz-specific javadoc:javax.sql.DataSource[] is used by both the javadoc:org.springframework.scheduling.quartz.SchedulerFactoryBean[] and for schema initialization.

0 commit comments

Comments
 (0)