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/09/28 15:28:20 UTC

[jira] [Closed] (CAY-2113) cdbimport: Reverse-engineering reinstates previously ignored columns

     [ https://issues.apache.org/jira/browse/CAY-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-2113.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.M4

Fixed. Other discovered issues are moved to CAY-2114

> cdbimport: Reverse-engineering reinstates previously ignored columns
> --------------------------------------------------------------------
>
>                 Key: CAY-2113
>                 URL: https://issues.apache.org/jira/browse/CAY-2113
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 4.0.M3
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 4.0.M4
>
>
> Say we have a model:
> {noformat}
> T1:
>    ID
>    C1
>    C2
> O1 -> T1
>    c1 -> T1.C1
> {noformat}
> I.e. our ObjEntity intentionally does not map certain columns. Now we add a column T1.C3 and rerun cdbimport. The end result is 2 new attributes: c2 and c3. Expected - just c3. Removal of "c2" was an earlier user decision and we should not recreate it.



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