X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 3379D9DCB13 for ; Mon, 30 Jan 2006 16:20:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70800-02 for ; Mon, 30 Jan 2006 16:20:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by postgresql.org (Postfix) with SMTP id 2AE1E9DCB5A for ; Mon, 30 Jan 2006 16:20:13 -0400 (AST) Received: (qmail 14706 invoked by uid 1112); 30 Jan 2006 20:13:35 -0000 Date: Mon, 30 Jan 2006 15:13:35 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Dave Cramer cc: Andres Olarte , Thomas Frieling , pgsql-jdbc@postgresql.org Subject: Re: CallableStatements: index starts at 2 In-Reply-To: Message-ID: References: <439FFA76.1070706@8hertz.de> <3fccaa690512140838o464dd369y4194a05c4f28d553@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.074 required=5 tests=[AWL=0.074] X-Spam-Score: 0.074 X-Spam-Level: X-Archive-Number: 200601/139 X-Sequence-Number: 14590 On Thu, 15 Dec 2005, Kris Jurka wrote: > On Wed, 14 Dec 2005, Dave Cramer wrote: > >> I just checked in a fix for this. It hasn't been well tested on all the >> various servers so please report problems back to me. > > This fix only works on JDK1.4 builds. It doesn't work on 1.2, 1.3, or 1.5 > because you've only modified Jdbc3CallableStatement. This also indicates the > fragility of the adjustIndex parameter. Unfortunately we can't create an > AbstractJdbc2CallableStatement because we'd need multiple inheritance for > Jdbc3CallableStatement to extend both AbstractJdbc3Statement and > AbstractJdbc[2|3]CallableStatement. Fixed and backpatched to 8.1. Kris Jurka