commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Heisterberg <>
Subject Re: [dbutils] use it for Tomcat DB connection pooling
Date Mon, 20 Feb 2006 19:27:39 GMT
DBUtils is a perfect match for database work - also when using a 
connection pool such as dbcp. In general you shouldn't need to worry 
whether the connection is from a pool or manually created. The only 
difference is the way the connection is obtained.

Med venlig hilsen / Best regards, 

Mikkel Heisterberg

Tomá? Procházka <> 
20-02-2006 16:32
Please respond to
"Jakarta Commons Users List" <>


[dbutils] use it for Tomcat DB connection pooling


I have one question.

Is possible use DBUtils in Tomcat container where connection is from 

On the page 
is  properly written code to use a db connection obtained from a 
connection pool. 

This example close RS,Statement and Connection immediately after use it 
and again in finnaly block. Also set reference pointer to null. Its 
problem, that DBUtils doesn't make this?

Exist any another small and usefull library especially for Tomcat?

Thanks you for reply.

Tomas Prochazka

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message