Andrus Adamchik created CAY-2042:
------------------------------------
Summary: 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: 4.0.M2, 3.1
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)