Results 1 to 2 of 2

Thread: how is batch framework database schema initialized or set up?

  1. #1
    Join Date
    Sep 2009
    Posts
    17

    Default 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. #2
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    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.

Posting Permissions

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