Create tables for schedulers on Apache Derby databases
using data definition language (DDL) or structured query language
(SQL) files.
Before you begin
This task requires you to configure a database and make it
available. Refer to the Creating Apache
Derby databases for schedulers topic, for more information.
About this task
To create tables for schedulers on Apache Derby databases,
using data definition language (DDL) or structured query language
(SQL) files, use these steps.
Procedure
- Open a command-line window.
- Create the schema.
- Using a text editor, edit the script, %app_server_root%\Scheduler\createSchemaMod1Derby.ddl,
according to the instructions at the top of the file.
Attention: When setting the table prefix, capitalize all characters.
- Enter one of the following commands.
Attention: Apache Derby provides both an embedded and network
server version. This example is for the embedded version of Apache
Derby. See the Apache Derby product documentation for more details
on running DDL scripts.
On Windows systems
(using the example name, scheddb):%app_server_root%\derby\bin\embedded\ij.bat %app_server_root%\Scheduler\createSchemaMod1Derby.ddl
On UNIX systems (using the example name, scheddb): %app_server_root%/derby/bin/embedded/ij.sh %app_server_root%/Scheduler/createSchemaMod1Derby.ddl
Results
The Apache Derby tables and schema for the scheduler exist.