Re: [Nextobjects-user] schema synchronization ?
Status: Alpha
Brought to you by:
eflorent
|
From: Emmanuel F. <efl...@de...> - 2004-03-24 19:13:07
|
If I had to do it I would have worked at the DOM Level, you should setup properties needed in default.propertie like=20 nextobjects.io.import.alwaysoverwrite and the make the needed changes to:org.devaki.nextobjects.util.NOXMLFactory.loadPDM(..); I was inspired by your weblication and commit an (unpublished yet) Model2/MVC PHP generator for that app. Need a torque-gen plugeable :) ++ EF On Wed, 2004-03-24 at 15:59, Bogdan Vatkov wrote: > Hi Emmanuel, > =20 > How do you think is it possible ? and how easy ? to implement some > routine > for *synchronizing* a model to a specific database model (via jdbc) > =20 > i believe it could be something like: advanced schema import > =20 > may be done by: importing a schema in a temporary xml (dom) > and to check (make analisys) of the working xml=20 > (to modify an existing xml (imported 1 monyh ago for example)=20 > according to the temporary imported xml > =20 > thus we can automatically update xml schema according to a changes in > the database > =20 > I often need functionality like this ..and do it manually for now. > =20 > regards, > bogdan |