[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ojb-dev
Subject:    cvs commit: db-ojb/src/schema ojbtest-schema.xml
From:       olegnitz () apache ! org
Date:       2004-02-29 15:06:35
Message-ID: 20040229150635.81620.qmail () minotaur ! apache ! org
[Download RAW message or body]

olegnitz    2004/02/29 07:06:34

  Modified:    src/schema ojbtest-schema.xml
  Log:
  Added constraints for OTM dependent tests
  
  Revision  Changes    Path
  1.67      +9 -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.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- ojbtest-schema.xml	28 Feb 2004 21:39:48 -0000	1.66
  +++ ojbtest-schema.xml	29 Feb 2004 15:06:34 -0000	1.67
  @@ -1095,6 +1095,9 @@
               javaName="lastname"/>
       <column name="MAIN_ADDRESS_ID" type="INTEGER" required="false"
               javaName="mainAddressId"/>
  +    <foreign-key foreignTable="OTM_ADDRESS">
  +      <reference local="MAIN_ADDRESS_ID" foreign="ID"/>
  +    </foreign-key>
     </table>
   
     <table name="OTM_ADDRESS"
  @@ -1119,6 +1122,12 @@
               javaName="personId" />
       <column name="ADDRESS_ID" type="INTEGER" required="true"
               javaName="addressId"/>
  +    <foreign-key foreignTable="OTM_ADDRESS">
  +      <reference local="ADDRESS_ID" foreign="ID"/>
  +    </foreign-key>
  +    <foreign-key foreignTable="OTM_PERSON">
  +      <reference local="PERSON_ID" foreign="ID"/>
  +    </foreign-key>
     </table>
   
     <table name="OTM_PERSON2"
  
  
  

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic