Sep 10th, 2009, 07:30 PM
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.
Sep 10th, 2009, 09:25 PM
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.