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_internal.xml
Date Fri, 08 Aug 2003 15:04:51 GMT
arminw      2003/08/08 08:04:51

  Modified:    src/test/org/apache/ojb repository_internal.xml
  Log:
  add missed descriptors for new
  DList implementation (called DList_2)
  
  Revision  Changes    Path
  1.7       +57 -0     db-ojb/src/test/org/apache/ojb/repository_internal.xml
  
  Index: repository_internal.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_internal.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- repository_internal.xml	1 Apr 2003 14:06:11 -0000	1.6
  +++ repository_internal.xml	8 Aug 2003 15:04:51 -0000	1.7
  @@ -144,6 +144,63 @@
         />
      </class-descriptor>
   
  +   <!-- THIS IS THE OJB DLIST IMPLEMENTATION, DO NOT EDIT-->
  +   <!-- alternative implementation of DList -->
  +   <class-descriptor
  +   	  class="org.apache.ojb.odmg.collections.DListImpl_2"
  +   	  table="OJB_DLIST"
  +   >
  +      <field-descriptor
  +         name="id"
  +         column="ID"
  +         jdbc-type="INTEGER"
  +         primarykey="true"
  +         autoincrement="true"
  +      />
  +      <field-descriptor
  +         name="size"
  +         column="SIZE_"
  +         jdbc-type="INTEGER"
  +      />
  +      <collection-descriptor
  +         name="elements"
  +         element-class-ref="org.apache.ojb.odmg.collections.DListEntry_2"
  +         auto-retrieve = "true"
  +      >
  +         <inverse-foreignkey field-ref="dlistId"/>
  +      </collection-descriptor>
  +   </class-descriptor>
  +
  +<!-- THIS IS THE OJB DLIST ENTRY IMPLEMENTATION, DO NOT EDIT-->
  +   <class-descriptor
  +      class="org.apache.ojb.odmg.collections.DListEntry_2"
  +      table="OJB_DLIST_ENTRIES"
  +   >
  +      <field-descriptor
  +         name="id"
  +         column="ID"
  +         jdbc-type="INTEGER"
  +         primarykey="true"
  +         autoincrement="true"
  +      />
  +      <field-descriptor
  +         name="dlistId"
  +         column="DLIST_ID"
  +         jdbc-type="INTEGER"
  +      />
  +      <field-descriptor
  +         name="position"
  +         column="POSITION_"
  +         jdbc-type="INTEGER"
  +      />
  +      <field-descriptor
  +         name="oid"
  +         column="OID_"
  +         jdbc-type="LONGVARBINARY"
  +         conversion="org.apache.ojb.broker.accesslayer.conversions.Object2ByteArrFieldConversion"
  +      />
  +   </class-descriptor>
  +
      <!-- THIS IS THE OJB DBAG IMPLEMENTATION, DO NOT EDIT-->
      <class-descriptor
      	  class="org.apache.ojb.odmg.collections.DBagImpl"
  
  
  

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