You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/03/11 19:57:13 UTC

[jira] [Commented] (CAY-1756) Integrate test cases for CAY-1755

    [ https://issues.apache.org/jira/browse/CAY-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599136#comment-13599136 ] 

Andrus Adamchik commented on CAY-1756:
--------------------------------------

Now that I was about to apply it, it occurred to me that specifying a single column as UNIQUE is not generic enough, as DB UNIQUE constraints can span multiple columns (quite like PK). What makes matters even more complicated, a single table can have multiple of those. So unique constraint will probably have to be a separate object, with DbEntity containing a collection of those.
                
> Integrate test cases for CAY-1755
> ---------------------------------
>
>                 Key: CAY-1756
>                 URL: https://issues.apache.org/jira/browse/CAY-1756
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.2M1
>
>         Attachments: 0001-CAY-1756-Integrate-test-cases-for-CAY-1755.patch
>
>
> Need to integrate the mapping (or create a new similar one) from CAY-1755 to Cayenne unit tests. The fix in CAY-1755 addresses a case that hasn't been present in our test suite yet, so it is unsafe to leave it untested. I don't have time to do it right away, so I closed the original Jira and opened this one to defer dealing with the tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira