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 "Jakob Braeuchi (JIRA)" <ji...@apache.org> on 2005/10/28 22:43:56 UTC
[jira] Assigned: (OJB-64) Correct handling of 1:n references, when the FK-field is declared in the super-classes instead of the referenced class
[ http://issues.apache.org/jira/browse/OJB-64?page=all ]
Jakob Braeuchi reassigned OJB-64:
---------------------------------
Assign To: Jakob Braeuchi
> Correct handling of 1:n references, when the FK-field is declared in the super-classes instead of the referenced class
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: OJB-64
> URL: http://issues.apache.org/jira/browse/OJB-64
> Project: OJB
> Type: Bug
> Components: JDO-API, ODMG-API, OTM-API, PB-API
> Versions: 1.0.3
> Reporter: Armin Waibel
> Assignee: Jakob Braeuchi
>
> Problem is the correct handling of 1:n references, when the FK-field is declared in the super-classes.
> Example:
> Employee<--Manager<--Shareholder
> Class 'Consortium' has a 1:n to Shareholder but the FK to Consortium is declared in Manager,
> Consortium reference look like
> <collection-descriptor
> name="shareholders"
> element-class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Shareholder"
> proxy="false"
> auto-retrieve="true"
> auto-update="object"
> auto-delete="object"
> >
> <inverse-foreignkey field-ref="consortiumKey"/>
> </collection-descriptor>
> But the 'consortiumKey' is declared in Manager (e.g. because we want to introduce a second 1:n containing all Manager).
> More detail see InheritanceMultipleTableTest#testInheritedReferences()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org