Re: Calling functions with smallint fails - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Calling functions with smallint fails
Date
Msg-id Pine.BSO.4.56.0410211358590.8130@leary.csoft.net
Whole thread Raw
In response to Calling functions with smallint fails  (Christian Niles <christian@unit12.net>)
Responses Re: Calling functions with smallint fails
Re: Calling functions with smallint fails
List pgsql-jdbc

On Thu, 21 Oct 2004, Christian Niles wrote:

>
>  From a basic examination of the code, it seems that setShort(int,
> short) simply serializes the value to a string, making it
> indistinguishable from an integer.

This has been fixed in the 8.0 driver series as all calls are now strongly
typed.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Christian Niles
Date:
Subject: Calling functions with smallint fails
Next
From: Kris Jurka
Date:
Subject: Re: ClassCastException in getShort(int)