You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2004/06/12 16:00:30 UTC
cvs commit: db-ojb/src/schema ojbtest-schema.xml
arminw 2004/06/12 07:00:30
Modified: src/schema ojbtest-schema.xml
Log:
add tables for new test (use the PK field of an object as FK too)
Revision Changes Path
1.78 +19 -0 db-ojb/src/schema/ojbtest-schema.xml
Index: ojbtest-schema.xml
===================================================================
RCS file: /home/cvs/db-ojb/src/schema/ojbtest-schema.xml,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- ojbtest-schema.xml 4 Jun 2004 16:02:44 -0000 1.77
+++ ojbtest-schema.xml 12 Jun 2004 14:00:30 -0000 1.78
@@ -823,6 +823,25 @@
</table>
+ <!-- =================================================== -->
+ <!-- PrimaryKeyForeignKeyTest - PB-api -->
+ <!-- =================================================== -->
+ <table name="PKFK_PERSON">
+ <column name="OBJ_ID" required="true" primaryKey="true" type="INTEGER"/>
+ <column name="NAME" type="VARCHAR" size="150"/>
+ </table>
+
+ <table name="PKFK_PERSON_DETAIL">
+ <column name="OBJ_ID" required="true" primaryKey="true" type="INTEGER"/>
+ <column name="PROFILE" type="VARCHAR" size="150"/>
+ <column name="FK_GENDER" type="VARCHAR" size="150"/>
+ </table>
+
+ <table name="PKFK_GENDER">
+ <column name="TYPE" required="true" primaryKey="true" type="VARCHAR" size="150"/>
+ </table>
+
+
<table name="READTEST_ACCOUNT">
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org