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 2016/01/14 13:24:39 UTC

[jira] [Updated] (CAY-2042) Remove an arbitrary limitation on 1000 runtime DbRelationships

     [ https://issues.apache.org/jira/browse/CAY-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik updated CAY-2042:
---------------------------------
    Affects Version/s: 3.0.3

> Remove an arbitrary limitation on 1000 runtime DbRelationships 
> ---------------------------------------------------------------
>
>                 Key: CAY-2042
>                 URL: https://issues.apache.org/jira/browse/CAY-2042
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0.3, 3.1, 4.0.M2
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>
> Currently we do not allow more then 1000 runtime DbRelationships in EntityResolver [1] (see 'makeUniqueRelationshipName'). This number is  arbitrary and is really just a side effect of the runtime rel name generation mechanism. And there are real cases reported when it is problematic. 
> So at the minimum we need to increase this limit, but ideally we should probably provide a better then O(N) mechanism for unique name generation here.
> [1] https://github.com/apache/cayenne/blob/master/cayenne-server/src/main/java/org/apache/cayenne/map/EntityResolver.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)