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 Sun, 02 Mar 2003 17:38:32 GMT
arminw      2003/03/02 09:38:32

  Modified:    src/test/org/apache/ojb repository_junit.xml
  Log:
  update FieldConversion_ForeignKeyTest
  
  Revision  Changes    Path
  1.45      +41 -44    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.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- repository_junit.xml	28 Feb 2003 17:10:03 -0000	1.44
  +++ repository_junit.xml	2 Mar 2003 17:38:32 -0000	1.45
  @@ -2507,48 +2507,6 @@
           />
       </class-descriptor>
   
  -
  -
  -    <!-- Field conversion test using PB-api and BigDecimal -->
  -    <class-descriptor
  -        class="org.apache.ojb.broker.FieldConversionTest_3$Node"
  -        table="FIELD_CONVERSION_NODE"
  -    >
  -        <field-descriptor
  -            name="uid"
  -            column="NODE_ID"
  -            jdbc-type="DECIMAL"
  -            primarykey="true"
  -            autoincrement="true"
  -            conversion="org.apache.ojb.broker.FieldConversionTest_3$LongToBigDecimalConversion"
  -        />
  -
  -        <field-descriptor
  -            name="nodeState"
  -            column="NODE_STATE"
  -            jdbc-type="INTEGER"
  -            primarykey="true"
  -            autoincrement="false"
  -            conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion"
  -        />
  -
  -        <field-descriptor
  -            name="refId"
  -            column="PARENT_UID"
  -            jdbc-type="DECIMAL"
  -            conversion="org.apache.ojb.broker.FieldConversionTest_3$LongToBigDecimalConversion"
  -        />
  -
  -        <reference-descriptor
  -            name="parent"
  -            class-ref="org.apache.ojb.broker.FieldConversionTest_3$Node"
  -            auto-update="true"
  -        >
  -            <foreignkey field-ref="refId"/>
  -        </reference-descriptor>
  -    </class-descriptor>
  -
  -
       <!--
           Integer pkWithAutoIncrement;
           Integer pkWithoutAutoIncrement;
  @@ -2596,8 +2554,47 @@
           />
       </class-descriptor>
   
  +     <!-- Field conversion test using PB-api and BigDecimal -->
  +    <class-descriptor
  +        class="org.apache.ojb.broker.FieldConversionTest_3$Node"
  +        table="FIELD_CONVERSION_NODE"
  +    >
  +        <field-descriptor
  +            name="uid"
  +            column="NODE_ID"
  +            jdbc-type="DECIMAL"
  +            primarykey="true"
  +            autoincrement="true"
  +            conversion="org.apache.ojb.broker.FieldConversionTest_3$LongToBigDecimalConversion"
  +        />
  +
  +        <field-descriptor
  +            name="nodeState"
  +            column="NODE_STATE"
  +            jdbc-type="INTEGER"
  +            primarykey="true"
  +            autoincrement="false"
  +            conversion="org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldConversion"
  +        />
  +
  +        <field-descriptor
  +            name="refId"
  +            column="PARENT_UID"
  +            jdbc-type="DECIMAL"
  +            conversion="org.apache.ojb.broker.FieldConversionTest_3$LongToBigDecimalConversion"
  +        />
  +
  +        <reference-descriptor
  +            name="parent"
  +            class-ref="org.apache.ojb.broker.FieldConversionTest_3$Node"
  +            auto-update="true"
  +        >
  +            <foreignkey field-ref="refId"/>
  +        </reference-descriptor>
  +    </class-descriptor>
   
  -    <!-- Field conversion test using ODMG-api -->
  +    <!-- Field conversion test using ODMG-api
  +    note, we do not use autoincrement -->
       <class-descriptor
           class="org.apache.ojb.odmg.FieldConversion_ForeigenKeyTest$Node"
           table="FIELD_CONVERSION_NODE"
  @@ -2607,7 +2604,7 @@
               column="NODE_ID"
               jdbc-type="DECIMAL"
               primarykey="true"
  -            autoincrement="true"
  +            autoincrement="false"
               conversion="org.apache.ojb.odmg.FieldConversion_ForeigenKeyTest$LongToBigDecimalConversion"
           />
   
  
  
  

Mime
View raw message