You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2016/11/23 11:44:58 UTC
[jira] [Created] (CAY-2152) Redesign project file upgrade system
Nikita Timofeev created CAY-2152:
------------------------------------
Summary: Redesign project file upgrade system
Key: CAY-2152
URL: https://issues.apache.org/jira/browse/CAY-2152
Project: Cayenne
Issue Type: Improvement
Components: Modeler
Reporter: Nikita Timofeev
Current project file version upgrade system is relying on loading and saving whole project structure with all entities in it.
With this strategy upgrader can easily become unstable as it can not deal with future changes.
To tolerate any past and future changes (especially incompatible one) project upgrader should operate only with xml structure.
To implement this several problems should be kept in mind:
- new loader and/or saver should be implemented which can operate directly with xml data
- old upgrade logic should be reimplemented with new design
- probably project files backups should be done prior upgrade
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)