This may not happen - there may be a chain of references back to
the pool that prevents the connection from being garbage collected.  I'd
have to look more closely.  I think the garbage collection setting in the
pool is the best bet, though I could certainly add a finalizer too.

Aaron

On Thu, 28 Sep 2000, Oleg Nitz wrote:
> Aaron Mulder wrote:
> AM>         There's an event fired on every SQLException (see
> AM> javax.sql.ConnectionEvent) and we return the connection to the pool when
> AM> it happens.
> Programmer may simply forget to close the Connection.
> If ConnectionInPool should return the connection to the pool on
> finalize(), too.
> 
> Best regards,
>  Oleg 


Reply via email to