db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/ojbtest ojbcore-schema.xml
Date Sat, 28 Jun 2003 12:56:39 GMT
mpoeschl    2003/06/28 05:56:39

  Modified:    src/ojbtest ojbcore-schema.xml
  Log:
  sync with verison in ojb repo
  
  Revision  Changes    Path
  1.2       +12 -19    db-torque/src/ojbtest/ojbcore-schema.xml
  
  Index: ojbcore-schema.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/src/ojbtest/ojbcore-schema.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ojbcore-schema.xml	11 Apr 2002 17:10:40 -0000	1.1
  +++ ojbcore-schema.xml	28 Jun 2003 12:56:39 -0000	1.2
  @@ -1,34 +1,27 @@
   <?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
  -<!DOCTYPE database SYSTEM "http://jakarta.apache.org/turbine/dtd/database.dtd">
  +<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
   
  -<database 
  -  name="@DATABASE_DEFAULT@" 
  -  defaultIdMethod="@DATABASE_ID_METHOD@">
  +<database name="@DATABASE_DEFAULT@" defaultIdMethod="none">
   
  -  <table name="OJB_SEQ" description="OJB SequenceManager table">
  -    <column name="CLASSNAME" required="true" primaryKey="true" type="VARCHAR" size="175"/>
  -    <column name="FIELDNAME" required="true" primaryKey="true" type="VARCHAR" size="70"/>
  -    <column name="LAST_NUM" type="INTEGER"/>
  -  </table>
  -  
  -  <table name="OJB_HL_SEQ" description="HIGH/LOW SequenceManager table">
  -    <column name="CLASSNAME" required="true" primaryKey="true" type="VARCHAR" size="175"/>
  + <table name="OJB_HL_SEQ" description="HIGH/LOW SequenceManager table">
  +    <column name="TABLENAME" required="true" primaryKey="true" type="VARCHAR" size="175"/>
       <column name="FIELDNAME" required="true" primaryKey="true" type="VARCHAR" size="70"/>
       <column name="MAX_KEY" type="INTEGER"/>
       <column name="GRAB_SIZE" type="INTEGER"/>
  +    <column name="VERSION" type="INTEGER"/>
     </table>
   
     <table name="OJB_LOCKENTRY" description="OJB Lock table">
       <column name="OID_" required="true" primaryKey="true" type="VARCHAR" size="250"/>
       <column name="TX_ID" required="true" primaryKey="true" type="VARCHAR" size="50"/>
  -    <column name="TIMESTAMP_" type="DECIMAL"/>
  +    <column name="TIMESTAMP_" type="TIMESTAMP"/>
       <column name="ISOLATIONLEVEL" type="INTEGER"/>
       <column name="LOCKTYPE" 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="VARCHAR" size="1024"/>
  +    <column name="OID_" type="LONGVARBINARY"/>
     </table>
   
     <table name="OJB_DLIST" description="DLIST IMPLEMENTATION">
  @@ -40,7 +33,7 @@
       <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="VARCHAR" size="1024"/>
  +    <column name="OID_" type="LONGVARBINARY"/>
     </table>
   
     <table name="OJB_DSET" description="DSET IMPLEMENTATION">
  @@ -52,7 +45,7 @@
       <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="VARCHAR" size="1024"/>
  +    <column name="OID_" type="LONGVARBINARY"/>
     </table>
   
     <table name="OJB_DMAP" description="DMap table">
  @@ -63,8 +56,8 @@
     <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="VARCHAR" size="1024"/>
  -    <column name="VALUE_OID" type="VARCHAR" size="1024"/>
  +    <column name="KEY_OID" type="VARBINARY"/>
  +    <column name="VALUE_OID" type="VARBINARY"/>
     </table>
  -  
  +
   </database>
  
  
  

Mime
View raw message