tfischer 2005/05/22 07:50:30
Modified: src/rttest test-schema.xml
Log:
moved the tables DATE_TEST and LARGE_PK to the test-schema, added a table
which uses inheritance to the test schema
background of the move is that maybe sometime in the far future, we can use
the bookstore schema from the tutorial for the runtimetest
Revision Changes Path
1.22 +90 -0 db-torque/src/rttest/test-schema.xml
Index: test-schema.xml
===================================================================
RCS file: /home/cvs/db-torque/src/rttest/test-schema.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- test-schema.xml 8 May 2005 19:22:39 -0000 1.21
+++ test-schema.xml 22 May 2005 14:50:30 -0000 1.22
@@ -192,4 +192,94 @@
<column name="clob_value" type="CLOB" required="false"/>
</table>
+
+ <!-- TRQS263 -->
+ <table name="DATE_TEST" description="Table to test Date formats">
+ <column
+ name="DATE_TEST_ID"
+ required="true"
+ primaryKey="true"
+ type="INTEGER"
+ />
+ <column
+ name="DATE_VALUE"
+ required="true"
+ type="DATE"
+ />
+ <column
+ name="TIME_VALUE"
+ required="true"
+ type="TIME"
+ />
+ <column
+ name="TIMESTAMP_VALUE"
+ required="true"
+ type="TIMESTAMP"
+ />
+ </table>
+
+
+ <table name="INHERITANCE_TEST" description="Table to test inheritance">
+ <column
+ name="INHERITANCE_TEST"
+ required="true"
+ primaryKey="true"
+ type="INTEGER"
+ />
+ <column
+ name="CLASS_NAME"
+ inheritance="single"
+ type="CHAR"
+ size="1">
+ <inheritance
+ key="B"
+ class="InheritanceChildB"
+ extends="org.apache.torque.test.InheritanceTest"
+ />
+ <inheritance
+ key="C"
+ class="InheritanceChildC"
+ extends="org.apache.torque.test.InheritanceTest"
+ />
+ <inheritance
+ key="D"
+ class="InheritanceChildD"
+ extends="org.apache.torque.test.InheritanceChildC"
+ />
+ </column>
+ <column
+ name="PAYLOAD_PARENT"
+ required="true"
+ type="VARCHAR"
+ />
+ <column
+ name="PAYLOAD_B"
+ type="VARCHAR"
+ />
+ <column
+ name="PAYLOAD_C"
+ type="VARCHAR"
+ />
+ <column
+ name="PAYLOAD_D"
+ type="VARCHAR"
+ />
+ </table>
+
+
+ <table name="LARGE_PK" idMethod="none" description="Table to test large
Primary keys">
+ <column
+ name="LARGE_PK_ID"
+ required="true"
+ primaryKey="true"
+ type="BIGINT"
+ />
+ <column
+ name="NAME"
+ type="VARCHAR"
+ size="100"
+ required="false"
+ />
+ </table>
+
</database>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]