Database migrations for Quartz scheduler is not working [SPR-17125] #21662
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: waiting-for-triage
An issue we've not yet triaged or decided on
Chandan Kumar opened SPR-17125 and commented
Spring-boot's auto-configure for Quartz is failing at the data migration step. This appears to be either a fault of the SQL migration file or the ScriptUtils.splitSqlScript of the Spring-JDBC project. I think it might be the splitSQLScript method, since the SQL file seems to be working fine if run manually through MySQL CLI.
ScriptUtils:
https://github.com/spring-projects/spring-framework/blob/master/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ScriptUtils.java#L139
SQL Migration file:
https://github.com/quartz-scheduler/quartz/blob/master/quartz-core/src/main/resources/org/quartz/impl/jdbcjobstore/tables_mysql_innodb.sql
As a workaround, I have copied the migration to my project, which seems to be working fine.
No further details from SPR-17125
The text was updated successfully, but these errors were encountered: