> What would be the replacement for DBConnection? > > I am a little fuzzy on understanding database pools etc.. I thought Torque > used the commons pool and dbcp, but couldn't find it in CVS.. Would the > replacement be to use DBCP?
What's important isn't eliminating the DBConnection class, but eliminating references to it. If DBConnection implemented javax.sql.Connection, then explicit references to DBConnection would be unnecessary. > If Torque doesn't use DBCP, why? I integrated DBCP with DbForms > (www.dbforms.org) to provide connection pooling, but if torque has a better > pool, I would like to use that instead. Probably because Torque (and turbine) predates commons DBCP. I like DBCP and use BasicDataSourceFactory with Tomcat, and have good experiences with it except for it not closing statements when you call Connection.close(). that was an easy patch, though. :-) -- Bill -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
