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 2013/07/23 21:40:53 UTC

[jira] [Closed] (CAY-1843) DataMap v7: Stop saving listeners in DataMap, add upgrade handler

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

Andrus Adamchik closed CAY-1843.
--------------------------------

    Resolution: Fixed

Applied the latest patches and also did some more related cleanup (deprecations, also stop loading DataMap listeners inside EntityResolver)

A note on upgrade handler - I guess eventually we might build a more generic chain of upgrade handlers, so that say v8 handler doesn't need to hardcode and apply v7 and v6 handlers. There could be a generic mechanism for performing incremental upgrades going through the chain. We can postpone that till we have more than 2 handlers.

Thanks!
                
> DataMap v7: Stop saving listeners in DataMap, add upgrade handler
> -----------------------------------------------------------------
>
>                 Key: CAY-1843
>                 URL: https://issues.apache.org/jira/browse/CAY-1843
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.2M2
>
>         Attachments: core.patch, project_2.patch, project.patch
>
>
> Per CAY-1842 we are no longer supporting listeners in DataMaps. I guess we can make it explicit - modeler should no longer save/load listeners that are already in the model, and we need an upgrade handler to give users an idea that they need to migrate listeners to the code.

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