cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1756) Integrate test cases for CAY-1755
Date Mon, 11 Mar 2013 18:57:13 GMT

    [ 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

Mime
View raw message