The following comment has been added to this issue:
Author: Walter Itamar MourÃo
Created: Do, 16 Sep 2004 11:27 AM
Body:
Well... from my point of view the association between PARENT and CHILD in this example
has redundant FKs... Since there is only one bidirectional association, the only way
to be sure there is only one PARENT and only on CHILD linked by the association is
using only one FK in only one side of the association. In Hibernate terms the opposite
side of the association should use the "property-ref" attribute to allow the
navigability from that side to the other.
---------------------------------------------------------------------
View this comment:
http://team.andromda.org:8080/jira/browse/HIB-3?page=comments#action_10236
---------------------------------------------------------------------
View the issue:
http://team.andromda.org:8080/jira/browse/HIB-3
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIB-3
Summary: One to one association generates redundant association
Type: Improvement
Status: Closed
Priority: Major
Resolution: CANNOT REPRODUCE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: Hibernate Cartridge
Fix Fors:
3.0M3
Assignee: Matthias Bohlen
Reporter: Walter Itamar MourÃo
Created: Di, 10 Aug 2004 5:43 PM
Updated: Do, 16 Sep 2004 11:27 AM
Description:
Nowadays andromda generates id reference in both sides of one to one associations, at
database level. Maybe it should use the association navegability to decide where to
put the id reference.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://team.andromda.org:8080/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel