I try running a job and spring complains that the metadata tables are missing. I have been using spring batch for about a few weeks but only with a MapJobRepositoryFactoryBean. I changed the job repository to use a mysql database and am facing this error. Am I missing something? I was under the impression that the tables will be created automatically. Please correct me if I'm wrong.