Re: Memroy leak with jdbc - Mailing list pgsql-jdbc

From David Wall
Subject Re: Memroy leak with jdbc
Date
Msg-id 01cd01c31435$a2bfd910$3201a8c0@rasta
Whole thread Raw
In response to Memroy leak with jdbc  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: Memroy leak with jdbc
List pgsql-jdbc
> > These warning messages are stored up until you read them, or call
> > clearWarnings().
> >
> > This is all correct behavior AFAICT.

What's the "correct" or "typical" way that people get these warnings out?  I
mean, who calls clearWarnings() on a connection?  Is it part of an exception
handler?  When an SQLException is thrown, we do process it and often display
the potentially chained exceptions, but we've never cleared something.  How
do you even know that a warning is pending?

David


pgsql-jdbc by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: Memroy leak with jdbc
Next
From: John Pfersich
Date:
Subject: Re: SELECT clause no relation found.