Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-199
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-199
Summary: Multiple links to a multi-attribute pk table do not get imported correctly
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
CayenneModeler GUI
Versions:
1.1
Assignee: Andrus Adamchik
Reporter: Derek Rendall
Created: Sun, 3 Oct 2004 5:34 PM
Updated: Sun, 3 Oct 2004 5:34 PM
Environment: Windows XP Professional. DB2 8.1
Description:
Named changed to protect identities :-)
I have a table (T1) with a primary key of attributes A1, A2 and A3.
I have another table (T2) that has two links to T1. In my case, the A1 and A2 values must be the same, but the A3 values will be different (for one link it is required, for the other it is optional).
Thus T2 has the following attributes: A1, A2, A3_1 and A3_2. Of course, A3_1 and A3_2 point to the A3 field in T1.
When I import the database, the first relationship has A1 only. The second relationship has A1, and two copies each of A2, A3_1 and A3_2.
I have sorted this out by hand (editing the XML), but the modeler should do the right thing when importing, which is creating one relationship of A1, A2, and A3_1, and another relationship of A1, A2, and A3_2.
---------------------------------------------------------------------
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 : Sun Oct 03 2004 - 17:34:48 EDT