dbTalk Databases Forums  

Re: [BUGS] JDBC driver. Class Cast Exception when calling

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] JDBC driver. Class Cast Exception when calling in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kris Jurka
 
Posts: n/a

Default Re: [BUGS] JDBC driver. Class Cast Exception when calling - 11-07-2004 , 02:18 PM








On Sun, 7 Nov 2004, Federico Fissore wrote:

Quote:
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.getSho rt(AbstractJdbc2Statement.java:1681)
This has already been fixed in cvs.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.