db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Haiges ...@flavor.de>
Subject RE: How to migrate to a new db structure.
Date Tue, 11 Nov 2003 00:32:13 GMT
Kind of.

but you are right, these are two.

so: 1. Why can't I just copy the database and the web-app to my server? Why 
can i read and change, but not add new entries with the Torque om models?

2. how would i add some more features to my objects, and migrate all the 
data to the new tables in an easy way?

thanx!
sven

At 02:15 PM 10/11/2003 -0800, you wrote:

>I see two different questions, (1) you're planning to modify db
>structure, and (2) your app works locally but not on the remote server.
>Are these questions related?
>
> > -----Original Message-----
> > From: Sven Haiges [mailto:sh@flavor.de]
> > Sent: Monday, November 10, 2003 12:55 PM
> > To: torque-user@db.apache.org
> > Subject: How to migrate to a new db structure.
> >
> > Hi there.
> >
> > I have Torque 1.1 running and everything works great now. Dev got a
>lot
> > easier.
> >
> > My only trouble is: what happens if I have to change the structure,
> > because
> > my client wants some additional data to be saved in the DB? Once, I
>tried
> > to copy my local version of both the WebApp (class files)  + exact
>Copy of
> > the DB to the server, but then torque refused to create new objects -
> > everything else: delete and read worked great.
> >
> > This seemed to have something to do with the id_table, but: I don't
> > understand why it does not work, because I got the exact copy of teh
> > id_table locally and remotely.
> >
> > ---
> >
> > What happens if i create my OM class files again with torque
>generator? is
> > there somewhere a unique key added, that then differentiates each
>version
> > of the generated files?
> >
> > ---
> >
> > thanx,
> > sven
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-user-help@db.apache.org




Mime
View raw message