+

Search Tips   |   Advanced Search

Create Apache Derby tables for schedulers

Create tables for schedulers on Apache Derby databases using DDL or structured query language (SQL) files.

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.

To create tables for schedulers on Apache Derby databases, using DDL or structured query language (SQL) files, use these steps.

  1. Open a command-line window.

  2. Create the schema.

    1. Use a text editor, edit the script, %app_server_root%\Scheduler\createSchemaMod1Derby.ddl, according to the instructions at the top of the file. : When setting the table prefix, capitalize all characters.

    2. Enter one of the following commands. : 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.


Related tasks

  • Create Apache Derby databases for schedulers

  • Data source minimum required settings, by vendor