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/11/04 13:53:58 UTC

[jira] [Created] (CAY-2133) ObjectNameGenerator refactoring - unifying relationship name generator.

Andrus Adamchik created CAY-2133:
------------------------------------

             Summary: ObjectNameGenerator refactoring - unifying relationship name generator.
                 Key: CAY-2133
                 URL: https://issues.apache.org/jira/browse/CAY-2133
             Project: Cayenne
          Issue Type: Improvement
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik


Will need to refactor ObjectNameGenerator API, mainly focusing on relationship name generation. The new API will generate both obj and db relationship names in a single method. We will no longer distinguish between the two, as DbRelationship name does not correspond to any actual name found in the database, and we might as well use the object layer name. 

In the future if this proves to be too limiting, we might split a separate DbRelationship name generator. 

For now it will allow to avoid passing ExportedKey object to the strategy, and make it private.



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