Announcement Announcement Module
Collapse
No announcement yet.
Batch metadata tables in mysql Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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

      Comment

      Working...
      X