Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-326
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-326
Summary: Modeler not descriptive in many-to-many issues
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
CayenneModeler GUI
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: Nick Stuart
Created: Fri, 10 Jun 2005 2:47 PM
Updated: Fri, 10 Jun 2005 2:47 PM
Description:
The modeler is less the helpful when establishing a many-to-many relationship and you have something wrong. In my case I had the "To Many" option selected on the join table relationships (I actually think the modeler selected these by default).
In any case, the files generated, but were only allowing for read only on the relationship, but it needed to be read/write. Last e-mail message from Andrus that clarified the issue:
------------
To: cayenne-use..bjectstyle.org
Date: Jun 10, 2005 1:47 PM
Subject: Re: Read-only many to many
Nick,
I was able to reproduce the problem. There was one more inconsistency in
your mapping - to-many set from join table to its parents, when it should
be to-one (see attached data map where this is fixed) ...
However there is also a bug in the Modeler - once I changed to-many
settings, incorrect classes were still generated. Once I closed and
reopened the project, everything worked again. So "read-only" setting was
cached incorrectly.
Could you please open a bug report in Jira for that...
Debugging it was surely a pain... I guess we may also add a visual
indication for read only relationship with a mouse-over explanation of the
reasons...
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/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 archive was generated by hypermail 2.0.0 : Fri Jun 10 2005 - 14:48:04 EDT