james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter M. Goldstein" <peter_m_goldst...@yahoo.com>
Subject [PATCH] JDBC resource cleanup in the face of exceptions
Date Sat, 10 Aug 2002 23:55:24 GMT


Attached is a set of source files and a diff that comprise a patch to
resolve observed issue with database resource cleanup when an
exceptional condition is encountered.  This is a modification of the
patch submitted by Samuel Sadek at the end of May.  Noel Bergman made
very substantial contributions to this patch.

The paradigm for resource closure, contrary to the original patch, is
the use of finally clauses to ensure that the resources are closed under
all conditions.

Comments, questions, criticisms are all welcome.  If I don't hear any
comments by Monday (Pacific time) I'll check it in.  Thanks.


View raw message