<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database.dtd">
<!--
#/* Copyright 2002-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.
# */
-->
<database name="@DATABASE_DEFAULT@" defaultIdMethod="none">

 <table name="OJB_HL_SEQ" description="HIGH/LOW SequenceManager table">
    <column name="NAME" required="true" primaryKey="true" type="VARCHAR" size="250"/>
    <column name="MAX_KEY" type="BIGINT"/>
    <column name="VERSION" type="INTEGER"/>
  </table>

  <table name="OJB_NRM" description="OJB NAMED ROOTS Table">
    <column name="NAME" required="true" primaryKey="true" type="VARCHAR" size="250"/>
    <column name="OID_" type="LONGVARBINARY"/>
  </table>

  <table name="OJB_DLIST" description="DLIST IMPLEMENTATION">
    <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
    <column name="SIZE_" type="INTEGER"/>
  </table>

  <table name="OJB_DLIST_ENTRIES" description="DList entry table">
    <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
    <column name="DLIST_ID" required="true" type="INTEGER"/>
    <column name="POSITION_" type="INTEGER"/>
    <column name="OID_" type="LONGVARBINARY"/>
  </table>

  <table name="OJB_DSET" description="DSET IMPLEMENTATION">
    <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
    <column name="SIZE_" type="INTEGER"/>
  </table>

  <table name="OJB_DSET_ENTRIES" description="DSet entry table">
    <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
    <column name="DLIST_ID" required="true" type="INTEGER"/>
    <column name="POSITION_" type="INTEGER"/>
    <column name="OID_" type="LONGVARBINARY"/>
  </table>

  <table name="OJB_DMAP" description="DMap table">
    <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
    <column name="SIZE_" type="INTEGER"/>
  </table>

  <table name="OJB_DMAP_ENTRIES" description="DMap entry table">
    <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
    <column name="DMAP_ID" required="true" type="INTEGER"/>
    <column name="KEY_OID" type="LONGVARBINARY"/>
    <column name="VALUE_OID" type="LONGVARBINARY"/>
  </table>

</database>
