Skip site navigation (1) Skip section navigation (2)

Re: CallableStatements: index starts at 2

From: Kris Jurka <books(at)ejurka(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Andres Olarte <olarte(dot)andres(at)gmail(dot)com>, Thomas Frieling <frieling(at)8hertz(dot)de>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: CallableStatements: index starts at 2
Date: 2006-01-30 20:13:35
Message-ID: Pine.BSO.4.61.0601301512430.19650@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

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

In response to

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2006-01-30 20:29:11
Subject: Re: ERROR: The backend has broken the connection -- AND:
Previous:From: Marc HerbertDate: 2006-01-30 19:23:35
Subject: Re: encoding question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group