db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb repository_junit.xml
Date Mon, 30 Jun 2003 21:16:21 GMT
thma        2003/06/30 14:16:21

  Modified:    src/test/org/apache/ojb repository_junit.xml
  Log:
  add testcase for Nested attributes
  
  Revision  Changes    Path
  1.78      +61 -0     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.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- repository_junit.xml	24 Jun 2003 20:48:27 -0000	1.77
  +++ repository_junit.xml	30 Jun 2003 21:16:21 -0000	1.78
  @@ -350,6 +350,67 @@
         />
      </class-descriptor>
   
  +<!-- Definitions for org.apache.ojb.broker.ArticleWithNestedStockDetail -->
  +   <class-descriptor
  +      class="org.apache.ojb.broker.ArticleWithNestedStockDetail"
  +      table="Artikel"
  +   >
  +      <field-descriptor
  +         name="articleId"
  +         column="Artikel_Nr"
  +         jdbc-type="INTEGER"
  +         primarykey="true"
  +         autoincrement="true"
  +      />
  +      <field-descriptor
  +         name="articleName"
  +         column="Artikelname"
  +         jdbc-type="VARCHAR"
  +      />
  +      <field-descriptor
  +         name="supplierId"
  +         column="Lieferanten_Nr"
  +         jdbc-type="INTEGER"
  +      />
  +      <field-descriptor
  +         name="productGroupId"
  +         column="Kategorie_Nr"
  +         jdbc-type="INTEGER"
  +      />
  +      <field-descriptor
  +         name="stockDetail::unit"
  +         column="Liefereinheit"
  +         jdbc-type="VARCHAR"
  +      />
  +      <field-descriptor
  +         name="price"
  +         column="Einzelpreis"
  +         jdbc-type="FLOAT"
  +      />
  +      <field-descriptor
  +         name="stockDetail::stock"
  +         column="Lagerbestand"
  +         jdbc-type="INTEGER"
  +      />
  +      <field-descriptor
  +         name="stockDetail::orderedUnits"
  +         column="BestellteEinheiten"
  +         jdbc-type="INTEGER"
  +      />
  +      <field-descriptor
  +         name="stockDetail::minimumStock"
  +         column="MindestBestand"
  +         jdbc-type="INTEGER"
  +      />
  +      <field-descriptor
  +         name="stockDetail::isSelloutArticle"
  +         column="Auslaufartikel"
  +         jdbc-type="INTEGER"
  +         conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion"
  +      />
  +   </class-descriptor>
  +
  +
   <!-- Definitions for org.apache.ojb.broker.ArticleWithReferenceProxy -->
      <class-descriptor
      	  class="org.apache.ojb.broker.ArticleWithReferenceProxy"
  
  
  

Mime
View raw message