Re: Exception-handling

Поиск
Список
Период
Сортировка
Искать
От
Roland Walter
Тема
Re: Exception-handling
Дата
Msg-id
458ABEA8.8030603@gmx.net
Ответ на
Список
Дерево обсуждения
Exception-handling Håkan Jacobsson <hakan.jacobsson99@bredband.net>
Re: Exception-handling Dave Cramer <pg@fastcrypt.com>
Re: Exception-handling Roland Walter <roland.walter.rwa@gmx.net>
Re: Exception-handling Dave Cramer <pg@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-----
В списке pgsql-jdbc по дате отправления
От: Dave Cramer
Дата:
Сообщение: Re: Exception-handling
От: Dave Cramer
Дата:
Сообщение: Re: Exception-handling
FAQ