cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2113) cdbimport: Reverse-engineering reinstates previously ignored columns
Date Wed, 28 Sep 2016 14:36:20 GMT

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

Andrus Adamchik commented on CAY-2113:
--------------------------------------

Bug #3 .. perhaps warrants a separate Jira

Same as above, but using static methods of NameConverter instead of the strategy configured
inside DbImportConfiguration.

> 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
>
> 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)

Mime
View raw message