You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/12/28 11:22:00 UTC

[jira] [Created] (CAY-2391) cdbimport need option to skip user-defined relationships

Nikita Timofeev created CAY-2391:
------------------------------------

             Summary: cdbimport need option to skip user-defined relationships
                 Key: CAY-2391
                 URL: https://issues.apache.org/jira/browse/CAY-2391
             Project: Cayenne
          Issue Type: Improvement
          Components: Non-GUI Tools
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.1.M2


There is a problem in {{cdbimport}} tool when user define relationships that are not backed by foreign key in DB. This may be required to link table with view or just in case some DB-related optimizations. Currently there is no option to keep this relationships, as they will be deleted by next {{cdbimport}} run.
Workaround may be excluding all tables with this relationships or add relationships at runtime.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)