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 2006/02/12 02:08:50 UTC
svn commit: r377100 -
/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit_inheritance.xml
Author: arminw
Date: Sat Feb 11 17:08:49 2006
New Revision: 377100
URL: http://svn.apache.org/viewcvs?rev=377100&view=rev
Log:
remove fk ref declaration from "super"-reference example
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit_inheritance.xml
Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit_inheritance.xml
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit_inheritance.xml?rev=377100&r1=377099&r2=377100&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit_inheritance.xml (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit_inheritance.xml Sat Feb 11 17:08:49 2006
@@ -213,8 +213,7 @@
<reference-descriptor name="super"
class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
>
- <foreignkey field-ref="id" />
- <foreignkey field-ref="id_2" />
+ <!-- not needed to define the FK point to the PK fields, OJB automatically assign them -->
</reference-descriptor>
<collection-descriptor
@@ -260,8 +259,7 @@
<reference-descriptor name="super"
class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Manager"
>
- <foreignkey field-ref="id" />
- <foreignkey field-ref="id_2" />
+ <!-- not needed to define the FK point to the PK fields, OJB automatically assign them -->
</reference-descriptor>
</class-descriptor>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org