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 2005/12/09 02:52:08 UTC
cvs commit: db-ojb/src/test/org/apache/ojb repository_junit_odmg.xml
arminw 2005/12/08 17:52:08
Modified: src/test/org/apache/ojb Tag: OJB_1_0_RELEASE
repository_junit_odmg.xml
Log:
update autoincrement settings for classes using "multiple joined table"-inheritance
Revision Changes Path
No revision
No revision
1.13.2.20 +7 -3 db-ojb/src/test/org/apache/ojb/repository_junit_odmg.xml
Index: repository_junit_odmg.xml
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_junit_odmg.xml,v
retrieving revision 1.13.2.19
retrieving revision 1.13.2.20
diff -u -r1.13.2.19 -r1.13.2.20
--- repository_junit_odmg.xml 4 Dec 2005 02:15:52 -0000 1.13.2.19
+++ repository_junit_odmg.xml 9 Dec 2005 01:52:08 -0000 1.13.2.20
@@ -1440,12 +1440,13 @@
class="org.apache.ojb.odmg.InheritanceMultipleTableTest$Executive"
table="INHERITANCE_EXECUTIVE"
>
+ <!-- auto-increment of PK field is handled by base class -->
<field-descriptor
name="id"
column="OBJ_ID"
jdbc-type="INTEGER"
primarykey="true"
- autoincrement="true"
+ autoincrement="false"
/>
<field-descriptor
name="id_2"
@@ -1473,6 +1474,7 @@
access="anonymous"
/>
+ <!-- use multiple joined table inheritance -->
<reference-descriptor name="super"
class-ref="org.apache.ojb.odmg.InheritanceMultipleTableTest$Employee">
<foreignkey field-ref="id"/>
@@ -1495,12 +1497,13 @@
class="org.apache.ojb.odmg.InheritanceMultipleTableTest$Manager"
table="INHERITANCE_MANAGER"
>
+ <!-- auto-increment of PK field is handled by base class -->
<field-descriptor
name="id"
column="OBJ_ID"
jdbc-type="INTEGER"
primarykey="true"
- autoincrement="true"
+ autoincrement="false"
/>
<field-descriptor
name="id_2"
@@ -1510,6 +1513,7 @@
autoincrement="false"
/>
+ <!-- use multiple joined table inheritance -->
<reference-descriptor name="super"
class-ref="org.apache.ojb.odmg.InheritanceMultipleTableTest$Executive">
<foreignkey field-ref="id"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org