From: Roland Walter <roland.walter.rwa@gmx.net>
To: Dave Cramer <pg@fastcrypt.com>
Cc: HÃ¥kan Jacobsson <hakan.jacobsson99@bredband.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Exception-handling
Date: Thu, 21 Dec 2006 18:04:40 +0100
Message-ID: <458ABEA8.8030603@gmx.net> (raw)
In-Reply-To: <021E5266-98FD-4ECD-8CFD-FBEFE0CAA761@fastcrypt.com>
References: <20061221100121.EJOZ10325.mxfep02.bredband.com@mxfep02>
<021E5266-98FD-4ECD-8CFD-FBEFE0CAA761@fastcrypt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dave Cramer wrote:
> The only general rule I adhere to is to make sure you clean up your
> connections in a finally clause
>
> Dave
Depends of your application. I usually free up all resources in the
finally clause, that I do not need any more. The resources are
ResultSets and Statements and may be connections. Not closing the
Statments and using the same connection further prooved to be fatal.
Regards,
Roland.
- --
Dipl.-Phys. Roland Walter
mailto: roland (dot) walter (dot) rwa (at) gmx (dot) net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFFir6oxoOEAkary1ERAh1gAJ0XCLT7ildof8QbH/x6y+xrPy4xvACeLBwk
vv9oqUJtZGFW/pYCtfLKDUk=
=NoBO
-----END PGP SIGNATURE-----
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: roland.walter.rwa@gmx.net, pg@fastcrypt.com, hakan.jacobsson99@bredband.net
Subject: Re: Exception-handling
In-Reply-To: <458ABEA8.8030603@gmx.net>
References: <20061221100121.EJOZ10325.mxfep02.bredband.com@mxfep02> <021E5266-98FD-4ECD-8CFD-FBEFE0CAA761@fastcrypt.com> <458ABEA8.8030603@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox