Re: Calling Connection.close() in Connection.finalize()

From: Barry Lind <barry(at)xythos(dot)com>
To: Matthias Brunner <mb(at)blumenstrasse(dot)vol(dot)at>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Calling Connection.close() in Connection.finalize()
Date: 2002-08-15 16:50:59
Message-ID: 3D5BDBF3.1050902@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Matthias,

This is implemented and has been since 7.1.

--Barry

Matthias Brunner wrote:

>Hello,
>
>IMHO, it would be useful if Connection.close() was called from
>Connection.finalize(), if the connection is still open. Thus the connection
>would always be closed properly.
>The mysql JDBC driver, for instance, does this.
>
>Or is this already implemented in the current development codebase?
>
>
>Best regards!
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-08-15 16:59:04 Re: Calling Connection.close() in Connection.finalize()
Previous Message Felipe Schnack 2002-08-15 16:39:45 Re: Calling Connection.close() in Connection.finalize()