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 Configuration for different databases
Date Mon, 03 Mar 2003 13:25:26 GMT
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

Mime
View raw message