You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/15 11:37:00 UTC
[jira] [Commented] (CAY-2391) cdbimport need option to skip
user-defined relationships
[ https://issues.apache.org/jira/browse/CAY-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326145#comment-16326145 ]
ASF GitHub Bot commented on CAY-2391:
-------------------------------------
GitHub user aarrsseni opened a pull request:
https://github.com/apache/cayenne/pull/253
CAY-2391 add excludeRelationship to dbImport
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aarrsseni/cayenne CAY-2391
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cayenne/pull/253.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #253
----
commit 66af8b36f9a4881ecf6b5896e7ce862cccd365db
Author: Arseni Bulatski <an...@...>
Date: 2018-01-12T09:10:27Z
CAY-2391 add excludeRelationship to dbImport
----
> 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
> Priority: Major
> Labels: pull-request-available
> 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
(v7.6.3#76005)