Re: Calling functions with smallint fails

From: Christian Niles <christian(at)unit12(dot)net>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Calling functions with smallint fails
Date: 2004-10-21 19:53:14
Message-ID: D81D014B-239A-11D9-83CE-000A9590B78E@unit12.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-10-21 20:45:00 Re: [GENERAL] JDBC +CIDR (fwd)
Previous Message Kris Jurka 2004-10-21 19:15:45 Re: ClassCastException in getShort(int)