db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Leng <wl...@metatomix.com>
Subject Re: On-The-Fly Config
Date Fri, 21 Oct 2005 18:29:00 GMT
You can programingly initialize Torque via

Torque.init(...).

The overloaded Torque.init() method takes either a file name or a
org.apache.commons.configuration.BaseConfiguration object

Bill

Trey Long wrote:
> Where does Torque pull it's configuration from? Where is the class(es) 
> that are responsible for it?
> 
> I am trying to use torque in an application where database platforms may 
> need to be switched rapidly via a configuration file. I am having a 
> little trouble understanding where torque get the information to connect 
> to the database after the ant task that builds the OM.
> 
> -trey
> 
> ---------------------------------------------------------------------
> 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