Try overriding the finalize() method of Object class like this :
public void finalize() {
connection.close();
}
If it doesn't work, maybe u need to set to null unused references to your
connections.
Hope it works and good luck,
Edward.
Don't take life serious 'cause you'll never get out of it alive.
---------- Original Message -----------
> live connection in the connection pool are not closed when the
> application is shut down.
>
> when the object is destroyed how to make sure the connections in the
> pool are closed ?
------- End of Original Message -------
http://www.idilis.ro - Stiri, e-mail gratuit, download,
SMS, server de counter-strike, hosting gratuit, servicii internet...
Fii cu un pas inaintea celorlati!
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________