You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Tore Halset (JIRA)" <ca...@incubator.apache.org> on 2006/10/03 15:56:08 UTC

[JIRA] Created: (CAY-675) compound primary key change

compound primary key change
---------------------------

         Key: CAY-675
         URL: http://issues.apache.org/cayenne/browse/CAY-675
     Project: Cayenne
        Type: Bug

  Components: Cayenne Core Library  
    Reporter: Tore Halset


Given a table with a compound primary key like CompoundPkTestEntity. Changing one of the primary keys result in a new ObjectID with only the changed primary key property. The unchanged property should also be included.

I discovered this working on the CocoaCayenne client, but it happens in a non-ROP-environment as well.

http://mail-archives.apache.org/mod_mbox/incubator-cayenne-dev/200610.mbox/%3c3947EAA5-19F8-417A-B3CF-EAE37BD3CD8E@pvv.ntnu.no%3e

I do not know when this bug was introduced, but it looks like it is related to the singleKey/singleValue stuff in ObjectId.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira