Announcement Announcement Module
Collapse
No announcement yet.
how is batch framework database schema initialized or set up? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how is batch framework database schema initialized or set up?

    I'm new to Spring batch so this question might be too easy for you.

    I need to use Oracle and I see schema-oracle10.sql bundled in the Spring core batch jar file. My question is when and how this script is executed to initially set up the framework schema? What is the proper way to set up the framework to run? Thanks.

  • #2
    The samples jobs run the scripts before running, but that is only because they're running against an in memory hsql database. If I were you, I would follow whatever processes are already available to create tables in your database. There are SQL scripts for oracle in the core jar.

    Comment

    Working...
    X