blob: 6e58bfe7b042fee344f77323ded3f58b2759cc8b [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<!-- ==================================================================== -->
<!-- -->
<!-- S C H E D U L E R T U R B I N E S C H E M A -->
<!-- -->
<!-- ==================================================================== -->
<!-- This is the the XML schema used by Torque to generate the necessary -->
<!-- sources used to create/initialize the Turbine scheduler service. -->
<!-- Torque will create the SQL for the database, and the Peer-based -->
<!-- Object Model. -->
<!-- ==================================================================== -->
<!-- @author: <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a> -->
<!-- @version $Id$ -->
<!-- ==================================================================== -->
<database name="@DATABASE_DEFAULT@">
<table name="TURBINE_SCHEDULED_JOB" idMethod="idbroker" javaName="JobEntryTorque">
<column name="JOB_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="SECOND" javaName="Second" default="-1"
required="true" type="INTEGER"/>
<column name="MINUTE" javaName="Minute" default="-1"
required="true" type="INTEGER"/>
<column name="HOUR" javaName="Hour" default="-1"
required="true" type="INTEGER"/>
<column name="WEEK_DAY" default="-1" required="true" type="INTEGER"/>
<column name="DAY_OF_MONTH" default="-1" required="true" type="INTEGER"/>
<column name="TASK" required="true" size="99" type="VARCHAR"/>
<column name="EMAIL" size="99" type="VARCHAR"/>
<column name="PROPERTY" javaName="Property" type="VARBINARY"/>
</table>
</database>