Re: [Menda-developers] Re: Issue Statuses, Priorities & Severities
Status: Alpha
Brought to you by:
fmar
|
From: Giorgio G. <gio...@ov...> - 2004-06-25 22:42:59
|
Tanel Lebedev wrote: > I was hoping there exists some automatic tool for update. However I'm > using hibernator plugin and it simply drops database and recreates it when > one hits 'update schema' button :) so maybe there is no such thing in > hibernate. What about solving db-update through a porting utility? We will need 2 database schemas (the old and the new one), but since we will have to develop a porting utility all the same it would be easier to just add (eg) a new "menda 1.x" possible porting source to it than to develop a whole new tool. Besides, does anyone know if it is possible to have two hibernates running with two mappings for the same classes and connecting to two different databases? If this is possible, writing a porting-client would maybe be a matter of reading the whole old database into objects, manipulating them (eg. to fill fields required by menda but not by the old source) and marshalling them to the new one... Cheers, Giorgio |