Re: Calling functions with smallint fails

From: Kris Jurka <books(at)ejurka(dot)com>
To: Christian Niles <christian(at)unit12(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Calling functions with smallint fails
Date: 2004-10-21 18:59:54
Message-ID: Pine.BSO.4.56.0410211358590.8130@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-10-21 19:15:45 Re: ClassCastException in getShort(int)
Previous Message Christian Niles 2004-10-21 18:55:30 Calling functions with smallint fails