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 2012/11/09 19:36:11 UTC

[jira] [Updated] (CAY-1764) cdbimport improvements: "overwrite" flag

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

Andrus Adamchik updated CAY-1764:
---------------------------------

    Description: Merging into existing entities during reverse engineering is tricky and is never going to work reliably if we expect the users to also edit the mapping by hand (in the Modeler). The current "overwriteExisting" does not work as expected either. We'll get rid of "overwriteExisting" flag, replacing it with a new "overwrite" flag that will literally create a new DataMap and write it on top of the old one, not attempting to merge anything.  (was: Merging into existing entities during reverse engineering is tricky and is never going to work reliably if we expect the users to also edit the mapping by hand (in the Modeler). The current "overwriteExisting" does not work as expected either. So I will deprecate (and make noop) "overwriteExisting" flag, replacing it with a new "overwrite" flag that will literally create a new DataMap and write it on top of the old one, not attempting to merge anything.)
    
> cdbimport improvements: "overwrite" flag
> ----------------------------------------
>
>                 Key: CAY-1764
>                 URL: https://issues.apache.org/jira/browse/CAY-1764
>             Project: Cayenne
>          Issue Type: Sub-task
>          Components: Core Library
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.2M1
>
>
> Merging into existing entities during reverse engineering is tricky and is never going to work reliably if we expect the users to also edit the mapping by hand (in the Modeler). The current "overwriteExisting" does not work as expected either. We'll get rid of "overwriteExisting" flag, replacing it with a new "overwrite" flag that will literally create a new DataMap and write it on top of the old one, not attempting to merge anything.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira