db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trey Long <james_l...@provima.com>
Subject Re: On-The-Fly Config
Date Fri, 21 Oct 2005 18:30:23 GMT
Thanks, that's a good lead I forgot about. We abstracted that so it went 
out of my mind.

Do you think it's worthwhile to learn JNDI? The guide seems to be 
hinting torward that as a way to dynamically set datasources.

Bill Leng wrote:

> 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
>

---------------------------------------------------------------------
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