arminw 2005/05/10 12:09:19
Modified: src/schema Tag: OJB_1_0_RELEASE ojbtest-schema.xml
Log:
- fix problems with multiple joined table inheritance (super-reference) and
odmg-api
- fix OJB-25
- add new methods in ClassDescriptor to handle super-reference inheritence
with odmg-api
Revision Changes Path
No revision
No revision
1.80.2.23 +10 -2 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.80.2.22
retrieving revision 1.80.2.23
diff -u -r1.80.2.22 -r1.80.2.23
--- ojbtest-schema.xml 9 May 2005 14:59:31 -0000 1.80.2.22
+++ ojbtest-schema.xml 10 May 2005 19:09:19 -0000 1.80.2.23
@@ -1240,9 +1240,11 @@
<column name="NAME" type="VARCHAR" size="150"/>
</table>
- <table name="INHERITANCE_ADDRESS">
+ <table name="INHERITANCE_ADDRESS">
<column name="OBJ_ID" required="true" primaryKey="true"
type="INTEGER"/>
<column name="STREET" type="VARCHAR" size="150"/>
+ <column name="FK_EMPLOYEE_1" type="INTEGER"/>
+ <column name="FK_EMPLOYEE_2" type="DECIMAL" size="15,0"/>
</table>
<table name="INHERITANCE_EMPLOYEE">
@@ -1293,6 +1295,12 @@
</foreign-key>
</table>
+ <table name="INHERITANCE_EMPLOYEE_ADDRESS">
+ <column name="EMPLOYEE_ID_1" required="true" primaryKey="true"
type="INTEGER"/>
+ <column name="EMPLOYEE_ID_2" required="true" primaryKey="true"
type="DECIMAL" size="15,0"/>
+ <column name="ADDRESS_ID" required="true" primaryKey="true"
type="INTEGER"/>
+ </table>
+
<table name="INHERITANCE_CONSORTIUM">
<column name="OBJ_ID" required="true" primaryKey="true"
type="INTEGER"/>
<column name="NAME" type="VARCHAR" size="150"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]