james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oki DZ <ok...@pindad.com>
Subject Re: JDBCMailRepository
Date Thu, 26 Jul 2001 01:23:29 GMT
On Wed, 25 Jul 2001, Serge Knystautas wrote:

> Some of the connection poolers I'm familiar with (the ones that pretend to
> be a JDBC driver) treat close() as returning the connection to the pool.
> Then this code would work fine (as it does in my installation).

What about putting the close() in the (Object's) finalize() method? By
doing so, eventually, the connection will be closed; without having to
rely on the db connection pooling's feature.


To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org

View raw message