When we fix this, we should be able to replace QuartzSchedulerDependencyConfiguration with a DependsOnDatabaseInitializationDetector for Scheduler and SchedulerFactoryBean. We may want to see if we can somehow make it specific to the JDBC store type.