----- Mensaje original -----
De: Kurt Bernhard Pruenner <[EMAIL PROTECTED]>

> It might be a bug, but it definitively isn't a Tomcat bug - which JDBC
driver
> were you using?

Of course is not Tomcat's.

It's not a JDBC-ODBC Dirver bug, as I thought before. You have to close
statements explicitly.
The result set are closed automatically. However I thought the statements
were automatically reclaimed when GC'ed, that is when the method in which
they were created was over. That didn't seem to be the case.

----- Mensaje original -----
De: August Detlefsen <[EMAIL PROTECTED]>


> Are you sure you are closing your JDBC connections?
> Those can add up real quick if you are doing 3-5
> database hits per page...


I only have one connection per servlet. I open them in the init() and close
it in the destroy(). I had a lot more Statements and ResultSets.



Reply via email to