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
- [jBoss-Dev] Re: Garbage Connection Oleg Nitz
- Re: [jBoss-Dev] Re: Garbage Connection Rickard Oberg
- Re: [jBoss-Dev] Re: Garbage Connection Aaron Mulder
- Re[2]: [jBoss-Dev] Re: Garbage Connection Oleg Nitz
- Re[4]: [jBoss-Dev] Re: Garbage Connection Aaron Mulder
- Re[4]: [jBoss-Dev] Re: Garbage Connect... Oleg Nitz
- Re: Re[4]: [jBoss-Dev] Re: Garbage... Aaron Mulder
- Re[6]: [jBoss-Dev] Re: Garbage... Oleg Nitz
- Re: Re[6]: [jBoss-Dev] Re: Gar... Dan OConnor
- Re[8]: [jBoss-Dev] Re: Garbage... Oleg Nitz
- Re: Re[8]: [jBoss-Dev] Re: Gar... Dan OConnor
- Re[10]: [jBoss-Dev] Re: Garbag... Oleg Nitz
- [jBoss-Dev] Problems with post... Kamen
- Re: [jBoss-Dev] Problems with ... Rickard Oberg
- Re: [jBoss-Dev] Problems with ... Kamen
