Support for custom comment prefix
Some Quartz initialization scripts have comments in a different format. This commit introduces a `comment-prefix` property that should be set by the user if their target database has a script that contains those unusual comments. Closes gh-13041
This commit is contained in:
@@ -140,6 +140,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
spring.profiles.include= # Unconditionally activate the specified comma-separated list of profiles (or list of profiles if using YAML).
|
||||
|
||||
# QUARTZ SCHEDULER ({sc-spring-boot-autoconfigure}/quartz/QuartzProperties.{sc-ext}[QuartzProperties])
|
||||
spring.quartz.jdbc.comment-prefix=-- # Prefix for single-line comments in SQL initialization scripts.
|
||||
spring.quartz.jdbc.initialize-schema=embedded # Database schema initialization mode.
|
||||
spring.quartz.jdbc.schema=classpath:org/quartz/impl/jdbcjobstore/tables_@@platform@@.sql # Path to the SQL file to use to initialize the database schema.
|
||||
spring.quartz.job-store-type=memory # Quartz job store type.
|
||||
|
||||
Reference in New Issue
Block a user