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