I have multiple databases defined in Turbine's properties file.

I have a pool defined called "alamo".  I can get a connection from this pool
by:

org.apache.turbine.util.db.pool.DBConnection dbconn =
org.apache.turbine.services.db.TurbineDB.getConnection("alamo");

but of course Peers wants to use

org.apache.torque.pool.DBConnection not the Turbine DBConnection.

How do I define multiple pools in the Turbine properties files and use them
with my generated Peers objects? Am I missing something? Is there a reason
why a Turbine DB Pool is not related to a Torque DB Pool? If I setup Torque
pools instead, what am I missing on the Turbine side?

Thanks,

John Gruber


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

Reply via email to