db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Nattrodt <martin.nattr...@x-root.de>
Subject AW: Configuration for different databases
Date Mon, 03 Mar 2003 15:38:07 GMT
I am not very confirm with ant. How can I do this?

Martin

> -----Ursprüngliche Nachricht-----
> Von: Howard Lin [mailto:Howard.Lin@vonage.com]
> Gesendet: Montag, 3. März 2003 16:17
> An: Turbine Torque Users List
> Betreff: RE: Configuration for different databases
> 
> 
> I assume you want to generate SQL scripts using Torque. I 
> think current Torque only generate SQL scripts for one 
> database that's defined in build-torque.properties file. To 
> get around this problem, I used Ant's token-filtering methods 
> to create build-torque.properties for different databases.
> 
> Howard Lin
> 
> > -----Original Message-----
> > From: Martin Nattrodt [mailto:martin.nattrodt@x-root.de]
> > Sent: Monday, March 03, 2003 8:25 AM
> > To: 'Turbine Torque Users List'
> > Subject: Configuration for different databases
> > 
> > 
> > Hello,
> > 
> > I am searching for a simple way for handling different database
> > configurations with one configuration file.
> > 
> > If you have different databases you have different URL's, 
> > users, PWD ect.
> > Is there any possibility to do something in your property file like:
> > 
> > torque.database.mysql.user = db2admin
> > torque.database.db2.user = db2admin
> > torque.database.oracle.user = oraadmin
> > torque.database.sapdb.user = sapdb
> > 
> > And when you create the SQL-scripts the should be named like
> > mysql-DBNAME-schema.sql
> > db2-DBNAME-schema.sql
> > oracle-DBNAME-schema.sql
> > sapdb-DBNAME-schema.sql
> > 
> > 
> > 
> > Regards Martin
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: torque-user-help@db.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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