Results 1 to 3 of 3

Thread: Batch metadata tables in mysql

  1. #1
    Join Date
    Dec 2010
    Posts
    12

    Default Batch metadata tables in mysql

    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.

    -Venk

  2. #2

    Default

    You must creat metadata manually.
    All scripts are located in the spring batch jar .
    spring-batch-core-2.1.5.RELEASE\org\springframework\batch\core :
    schema-mysql.sql
    schema-drop-mysql.sql

    regards

  3. #3
    Join Date
    Dec 2010
    Posts
    12

    Default

    Thanks for the reply Marwan! I stumbled upon the following post where it is mentioned that Spring creates the tables automatically.

    http://forum.springframework.org/showthread.php?t=66822

    That's why I was wondering if there is something I am missing, that is not allowing the tables to be created. Anyway, I've created the tables manually now.

    -Venk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •