I do not think you should use java.sql.Connection

It will work, but application server frameworks and application servers usually provide a pooled datasource, and this is what the org.apache.turbine.util.db.pool.DBConnection was, a pooled connection resource.

What you want to do is to use a "Datasource"
Usually, by looking in the application server's jndi tree, you can get a Datasource a
With the Datasource, you can obtain a connection object.

Look to see if Tomcat has a pooled datasource.

At 09:40 PM 11/7/2002 -0500, Eric Emminger wrote:
Matt

> Turbine 2.1 had org.apache.turbine.util.db.pool.DBConnection but 2.2-rc1 does not? Any ideas what happened to it or what class I should be using in its stead? What should I be reading to migrate a 2.1 application to 2.2?

Try java.sql.Connection instead.

Eric

--
Eric Emminger
[EMAIL PROTECTED]


--
To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to