db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/schema ojbtest-data.dtd ojbtest-data.xml ojbtest-schema.xml
Date Wed, 15 Dec 2004 12:39:23 GMT
arminw      2004/12/15 04:39:23

  Modified:    src/schema Tag: OJB_1_0_RELEASE ojbtest-data.dtd
                        ojbtest-data.xml ojbtest-schema.xml
  Log:
  fix removed Task class entries
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.14.2.2  +9 -0      db-ojb/src/schema/ojbtest-data.dtd
  
  Index: ojbtest-data.dtd
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/schema/ojbtest-data.dtd,v
  retrieving revision 1.14.2.1
  retrieving revision 1.14.2.2
  diff -u -r1.14.2.1 -r1.14.2.2
  --- ojbtest-data.dtd	12 Dec 2004 01:35:12 -0000	1.14.2.1
  +++ ojbtest-data.dtd	15 Dec 2004 12:39:23 -0000	1.14.2.2
  @@ -27,6 +27,7 @@
       Person*,
       Project*,
       PersonProject*,
  +    Task*,
       FamilyMember*,
       LockedByVersion*,
       LockedByTimestamp*,
  @@ -158,6 +159,14 @@
       Id CDATA #REQUIRED
       Title CDATA #IMPLIED
       Description CDATA #IMPLIED
  +>
  +
  +<!ELEMENT Task EMPTY>
  +<!ATTLIST Task
  +  TaskId CDATA #REQUIRED
  +  PersonId CDATA #REQUIRED
  +  ProjectId CDATA #REQUIRED
  +  Taskname CDATA #IMPLIED
   >
   
   <!ELEMENT PersonProject EMPTY>
  
  
  
  1.15.2.2  +5 -0      db-ojb/src/schema/ojbtest-data.xml
  
  Index: ojbtest-data.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/schema/ojbtest-data.xml,v
  retrieving revision 1.15.2.1
  retrieving revision 1.15.2.2
  diff -u -r1.15.2.1 -r1.15.2.2
  --- ojbtest-data.xml	12 Dec 2004 01:35:12 -0000	1.15.2.1
  +++ ojbtest-data.xml	15 Dec 2004 12:39:23 -0000	1.15.2.2
  @@ -148,6 +148,11 @@
       <PersonProject PersonId="7" ProjectId="5" Rolename="founder"/>
       <PersonProject PersonId="7" ProjectId="6" Rolename="tester"/>
   
  +    <Task TaskId="1" PersonId="2" ProjectId="1" Taskname="Initial Layout"/>
  +    <Task TaskId="2" PersonId="2" ProjectId="1" Taskname="Initial Spec"/>
  +    <Task TaskId="3" PersonId="2" ProjectId="2" Taskname="Project Cleanup"/>
  +    <Task TaskId="4" PersonId="2" ProjectId="3" Taskname="Testing Scripts"/>
  +
       <ConversionReferrer Pk1="1" Ref1="50" TestId="10"/>
       <ConversionReferrer Pk1="2" Ref1="51" TestId="11"/>
       <ConversionReferrer Pk1="3" Ref1="52" TestId="12"/>
  
  
  
  1.80.2.7  +12 -1     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.80.2.6
  retrieving revision 1.80.2.7
  diff -u -r1.80.2.6 -r1.80.2.7
  --- ojbtest-schema.xml	12 Dec 2004 01:35:12 -0000	1.80.2.6
  +++ ojbtest-schema.xml	15 Dec 2004 12:39:23 -0000	1.80.2.7
  @@ -170,6 +170,17 @@
       </foreign-key>
     </table>
   
  +  <table name="TASK">
  +    <column name="TASK_ID" required="true" primaryKey="true" type="INTEGER"/>
  +    <column name="PERSON_ID" required="true" type="INTEGER"/>
  +    <column name="PROJECT_ID" required="true" type="INTEGER"/>
  +    <column name="TASKNAME" type="VARCHAR" size="20"/>
  +    <foreign-key foreignTable="PERSON_PROJECT">
  +      <reference local="PERSON_ID" foreign="PERSON_ID"/>
  +      <reference local="PROJECT_ID" foreign="PROJECT_ID"/>
  +    </foreign-key>
  +  </table>
  +
     <table name="FAMILY_MEMBER">
       <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
       <column name="FIRSTNAME" type="VARCHAR" size="150"/>
  
  
  

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


Mime
View raw message