On Thu, 4 Nov 2010 10:37:25 -0500, "Propes, Barry L "
<barry.l.propes@citi.com> wrote:
> Not sure if it matters or not, but in your SponserSummaryDAO
> method, it appears you establish the rs as null, but don't ever close
> it? You might specifically try that.
>
> And is it necessary to reassign all those variables (connection, rs,
> pstmt) to null again in those catch blocks?
One more reason to use well designed utilities like commons-dbutils or
jdbc-template.
--
Mikolaj Rydzewski <miki@ceti.pl>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|