> It would appear from the documentation that we are supposed to clean up
> JDBC resources when Connecton.close is called, would this include
> statements. We currently don't track them or clean them up?
> Opinions ?
Well, closing a Statement/PreparedStatement should definitely close any open
ResultSet objects. Closing a Connection should likely close any open
Statements/ResultSets, but that's not been an issue for us since we don't
really close our connections (they are returned to a pool instead).
In response to
pgsql-jdbc by date
|Next:||From: Oliver Jowett||Date: 2004-02-10 04:33:07|
|Subject: Re: closing statements when connection is closed|
|Previous:||From: Dave Cramer||Date: 2004-02-10 04:16:42|
|Subject: closing statements when connection is closed|