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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to