db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Rafuse <craf...@cs.dal.ca>
Subject Getting/releasing a connection from Torque pool
Date Wed, 23 Jul 2003 14:37:34 GMT
Hello all,

I'm developing an application with Turbine and using Torque to model the
database. However, I have no using the om table models to query.

I am aquiring a connection from Torque and using JDBC to query the
database.

I would like to know the best way to aquire a connection from the Torque
pool and how to return that connection when finished. Currently I am
using Torque.getConnection() to aquire a connection. Is this right? How
to I return it once I am done? 

Thanks,



Chris


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