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

From Christian Niles
Subject Re: Calling functions with smallint fails
Date
Msg-id D81D014B-239A-11D9-83CE-000A9590B78E@unit12.net
Whole thread Raw
In response to Re: Calling functions with smallint fails  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Thanks for the quick reply on both issues. The new driver works as
advertised.

best,
christian.

On Oct 21, 2004, at 2:59 PM, Kris Jurka wrote:

>
>
> 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: Kris Jurka
Date:
Subject: Re: ClassCastException in getShort(int)
Next
From: Oliver Jowett
Date:
Subject: Re: [GENERAL] JDBC +CIDR (fwd)