Re: JDBC driver. Class Cast Exception when calling

From: Kris Jurka <books(at)ejurka(dot)com>
To: Federico Fissore <fissore(at)hyphen(dot)it>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: JDBC driver. Class Cast Exception when calling
Date: 2004-11-07 20:15:29
Message-ID: Pine.BSO.4.56.0411071514360.23204@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, 7 Nov 2004, Federico Fissore wrote:

> As subject, i got a stored function that returns an int2 i successfully
> call it using a callable statement, exactly as it is written in the
> manual, but when the getShort expression is executed, i receive a
> "Exception in thread Exception in thread "Timer-1"
> java.lang.ClassCastException: java.lang.Short
> at org.postgresql.jdbc2.AbstractJdbc2Statement.getShort(AbstractJdbc2Statement.java:1681)

This has already been fixed in cvs.

Kris Jurka

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2004-11-08 01:07:08 Re: 8.0 beta4: Exception with setBoolean on char column
Previous Message Federico Fissore 2004-11-07 18:28:51 Re: JDBC driver. Class Cast Exception when calling CallableStatement.getShort