jdbc pooling question - Mailing list pgsql-jdbc

From Marcus Andree S. Magalhaes
Subject jdbc pooling question
Date
Msg-id 61543.200.174.148.100.1073850113.squirrel@webmail.webnow.com.br
Whole thread Raw
Responses Re: jdbc pooling question  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hi, guys.

We're suffering (probably) a connection leak problem while
using Jdbc2PoolingDataSource that comes with jdbc drivers
for postgres 7.3.

Recently, a freeze problem was detected and the debugging
showed that we may have some leaks.

Before digging deeply into the driver's source code, we decided
to analyze our own java sources and found a couple places where
the statements and the connections were closed, but not the
resultset.

The question is, in this configuration (connection & statement closed),
there is any possibility of the connection isn't being properly closed
by the pool and, therefore, being leaked?

thanks in advance.




pgsql-jdbc by date:

Previous
From: Ramin Rad
Date:
Subject: JDBC parse error with preparedStatement!
Next
From: "Neil Murray"
Date:
Subject: Re: jdbc pooling question