db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Sabeti" ...@reazon.com>
Subject RE: How to migrate to a new db structure.
Date Mon, 10 Nov 2003 22:15:11 GMT
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