[ https://issues.apache.org/jira/browse/CAY-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15751547#comment-15751547 ]
ASF GitHub Bot commented on CAY-2174: ------------------------------------- GitHub user stariy95 opened a pull request: https://github.com/apache/cayenne/pull/158 CAY-2174 Change FK attribute name cause ObjAttribute appear after Reverse Engineering You can merge this pull request into a Git repository by running: $ git pull https://github.com/stariy95/cayenne CAY-2174 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cayenne/pull/158.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 #158 ---- commit 802a5258bd5d6556fce220dfcd644064058a497e Author: Nikita Timofeev <stari...@gmail.com> Date: 2016-12-15T14:41:51Z CAY-2174 Change FK attribute name cause ObjAttribute appear after Reverse Engineering ---- > Change FK attribute name cause ObjAttribute appear after Reverse Engineering > ---------------------------------------------------------------------------- > > Key: CAY-2174 > URL: https://issues.apache.org/jira/browse/CAY-2174 > Project: Cayenne > Issue Type: Sub-task > Components: Modeler, Non-GUI Tools > Reporter: Nikita Timofeev > Assignee: Nikita Timofeev > Fix For: 4.0.M5 > > > Reproduction: > - change column name that is FK in DB (not in modeler) > - run reverse engineering > As a result relationship is recreated (possibly with new name) as expected > but also new ObjAttribute appeared mapped to FK column that shouldn't be > there (unless meaningful FK option is set). -- This message was sent by Atlassian JIRA (v6.3.4#6332)