tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject Re: DBCP abandoned trace - unable to understand the leak
Date Thu, 04 Nov 2010 07:42:58 GMT

 On Thu, 4 Nov 2010 11:08:07 +0530, sasidhar prabhakar 
 <sasidhar1229@gmail.com> wrote:

> I didn't understand below, in DAO class everything fine.
> Connection,PreparedStatement,ResultSet are all declared method local, 
> and
> closed properly.

 Within finally clause?

> Please guide me to solve the problem.

 Please show us your code.

 For small projects I found commons-dbutil very convenient. For larger 
 ones, spring's JdbcTemplate is my choice.

-- 
 Mikolaj Rydzewski <miki@ceti.pl>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message