[
https://issues.apache.org/jira/browse/CAY-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Savva Kolbachev closed CAY-2042.
--------------------------------
Resolution: Done
Assignee: Savva Kolbachev (was: Andrus Adamchik)
> 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: Savva Kolbachev
> 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)