Re: JDBC driver. Class Cast Exception when calling

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC driver. Class Cast Exception when calling
Дата
Msg-id Pine.BSO.4.56.0411071514360.23204@leary.csoft.net
обсуждение исходный текст
Ответ на JDBC driver. Class Cast Exception when calling CallableStatement.getShort  ("Federico Fissore" <fissore@hyphen.it>)
Список 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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Federico Fissore"
Дата:
Сообщение: Re: JDBC driver. Class Cast Exception when calling CallableStatement.getShort
Следующее
От: "Laferriere, Al"
Дата:
Сообщение: 8.0 beta4: Exception with setBoolean on char column