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/test/org/apache/ojb repository_junit.xml
Date Fri, 13 Aug 2004 14:25:43 GMT
arminw      2004/08/13 07:25:43

  Modified:    src/test/org/apache/ojb repository_junit.xml
  Log:
  remove 'id' attribute in field-descriptor
  
  Revision  Changes    Path
  1.121     +13 -13    db-ojb/src/test/org/apache/ojb/repository_junit.xml
  
  Index: repository_junit.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_junit.xml,v
  retrieving revision 1.120
  retrieving revision 1.121
  diff -u -r1.120 -r1.121
  --- repository_junit.xml	11 Aug 2004 00:37:32 -0000	1.120
  +++ repository_junit.xml	13 Aug 2004 14:25:43 -0000	1.121
  @@ -3400,8 +3400,8 @@
   	</class-descriptor>
   
   	<class-descriptor class="org.apache.ojb.broker.News" table="NEWS">
  -	   <field-descriptor id="1" name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
  -	   <field-descriptor id="2" name="headline" column="HEADLINE" jdbc-type="VARCHAR"/>
  +	   <field-descriptor name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
  +	   <field-descriptor name="headline" column="HEADLINE" jdbc-type="VARCHAR"/>
       	   <collection-descriptor 	name="qualifiers"
              				element-class-ref="org.apache.ojb.broker.Qualifier"
                              		auto-retrieve="true"
  @@ -3414,9 +3414,9 @@
   	</class-descriptor>
   
   	<class-descriptor class="org.apache.ojb.broker.Paper" table="PAPER">
  -	   <field-descriptor id="1" name="id" column="ID" jdbc-type="INTEGER" primarykey="true"
autoincrement="true"/>
  -	   <field-descriptor id="2" name="date" column="ISSUEDATE" jdbc-type="VARCHAR"/>
  -	   <field-descriptor id="3" name="author" column="AUTHOR" jdbc-type="VARCHAR"/>
  +	   <field-descriptor name="id" column="ID" jdbc-type="INTEGER" primarykey="true" autoincrement="true"/>
  +	   <field-descriptor name="date" column="ISSUEDATE" jdbc-type="VARCHAR"/>
  +	   <field-descriptor name="author" column="AUTHOR" jdbc-type="VARCHAR"/>
              <collection-descriptor 	name="qualifiers"
              				element-class-ref="org.apache.ojb.broker.Qualifier"
                              		auto-retrieve="true"
  @@ -3436,22 +3436,22 @@
   	   <extent-class class-ref="org.apache.ojb.broker.Topic"/>
   	   <extent-class class-ref="org.apache.ojb.broker.Category"/>
   	   <extent-class class-ref="org.apache.ojb.broker.Area"/>
  -	   <field-descriptor id="1" name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
  +	   <field-descriptor name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
   	</class-descriptor>
   
   	<class-descriptor class="org.apache.ojb.broker.Topic" table="TOPIC">
  -	   <field-descriptor id="1" name="id" column="ID" jdbc-type="INTEGER" primarykey="true"
autoincrement="true"/>
  -	   <field-descriptor id="2" name="name" column="NAME" jdbc-type="VARCHAR"/>
  +	   <field-descriptor name="id" column="ID" jdbc-type="INTEGER" primarykey="true" autoincrement="true"/>
  +	   <field-descriptor name="name" column="NAME" jdbc-type="VARCHAR"/>
   	</class-descriptor>
   
   	<class-descriptor class="org.apache.ojb.broker.Category" table="CATEGORY">
  -	   <field-descriptor id="1" name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
  -	   <field-descriptor id="2" name="name" column="NAME" jdbc-type="VARCHAR"/>
  +	   <field-descriptor name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
  +	   <field-descriptor name="name" column="NAME" jdbc-type="VARCHAR"/>
   	</class-descriptor>
   
   	<class-descriptor class="org.apache.ojb.broker.Area" table="AREA">
  -	   <field-descriptor id="1" name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
  -	   <field-descriptor id="2" name="name" column="NAME" jdbc-type="VARCHAR"/>
  +	   <field-descriptor name="id" column="ID" jdbc-type="INTEGER" primarykey="true"/>
  +	   <field-descriptor name="name" column="NAME" jdbc-type="VARCHAR"/>
   	</class-descriptor>
   
   
  
  
  

---------------------------------------------------------------------
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