Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id CFAB39FA666 for ; Fri, 3 Nov 2006 00:50:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 76974-10 for ; Fri, 3 Nov 2006 00:50:55 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id EC6C79FA3AB for ; Fri, 3 Nov 2006 00:50:54 -0400 (AST) Received: (qmail 10200 invoked by uid 1112); 3 Nov 2006 04:50:54 -0000 Date: Thu, 2 Nov 2006 23:50:54 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Dave Cramer cc: List Subject: Re: Bug with callable statement and output parameters In-Reply-To: Message-ID: References: <3f205b320604201502o112f68abhafbc0a2e0a845218@mail.gmail.com> <3f205b320604201703x2d5a52c7s214a039e36539a8a@mail.gmail.com> <2FAEA9A5-D1E5-4FEF-B464-46C730E6F356@fastcrypt.com> <9726A637-9B48-426F-91A9-E1CBB6F1265B@fastcrypt.com> <0BEEAF9A-2E47-4E4F-AE8D-2846076FA037@fastcrypt.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/18 X-Sequence-Number: 16060 On Mon, 22 May 2006, Kris Jurka wrote: > In testing I found some other related bugs regarding trying to retrieve > results that are not available as the attached test cases demonstrate. > I've fixed the following three problem cases for CallableStatements in CVS HEAD. 1) Calling wasNull before fetching anything threw an ArrayIndexOutOfBoundsException. 2) Fetching data before executing the statement threw a NullPointerException. 3) Fetching data when nothing was registered to be returned threw a NullPointerException. Kris Jurka