You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ol...@apache.org on 2004/01/13 22:53:58 UTC

cvs commit: db-ojb/src/schema ojbtest-schema.xml

olegnitz    2004/01/13 13:53:58

  Modified:    src/schema ojbtest-schema.xml
  Log:
  Added constraints necessary for batch mode test
  
  Revision  Changes    Path
  1.60      +6 -0      db-ojb/src/schema/ojbtest-schema.xml
  
  Index: ojbtest-schema.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/schema/ojbtest-schema.xml,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- ojbtest-schema.xml	12 Dec 2003 21:58:17 -0000	1.59
  +++ ojbtest-schema.xml	13 Jan 2004 21:53:58 -0000	1.60
  @@ -350,6 +350,9 @@
       <column name="age" type="INTEGER"/>
       <column name="numLegs" type="INTEGER"/>
       <column name="zooId" type="INTEGER"/>
  +    <foreign-key foreignTable="ZOO">
  +      <reference local="zooId" foreign="zooId"/>
  +    </foreign-key>
     </table>
   
     <table name="REPTILE">
  @@ -358,6 +361,9 @@
       <column name="age" type="INTEGER"/>
       <column name="color" type="VARCHAR" size="60"/>
       <column name="zooId" type="INTEGER"/>
  +    <foreign-key foreignTable="ZOO">
  +      <reference local="zooId" foreign="zooId"/>
  +    </foreign-key>
     </table>
   
     <table name="ZOO">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org