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/02/28 09:27:00 UTC

[jira] [Commented] (CAY-2241) cdbimport: set ObjRelationship delete rule from FK metadata (if it's possible)

    [ https://issues.apache.org/jira/browse/CAY-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380033#comment-16380033 ] 

ASF GitHub Bot commented on CAY-2241:
-------------------------------------

GitHub user MegaPapa opened a pull request:

    https://github.com/apache/cayenne/pull/276

    CAY-2241 cdbimport: set ObjRelationship delete rule from FK metadata

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MegaPapa/cayenne CAY-2241

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cayenne/pull/276.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 #276
    
----
commit 83bf152349e639b75086edb064baa47ddade28a9
Author: Maxim Petrusevich <ma...@...>
Date:   2018-02-28T08:56:02Z

    CAY-2241 cdbimport: set ObjRelationship delete rule from FK metadata

----


> cdbimport: set ObjRelationship delete rule from FK metadata (if it's possible)
> ------------------------------------------------------------------------------
>
>                 Key: CAY-2241
>                 URL: https://issues.apache.org/jira/browse/CAY-2241
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler, Non-GUI Tools
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.M2
>
>
> DbRelationship doesn't know anything about delete rule and just set it to ObjRelationship's default ("Deny") in case of new relationship is detected in cdbimport.
> If we can set this value based on DB metadata this can save someone from unnecessary troubles.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)