getObject returns wrong type for SMALLINT

Поиск
Список
Период
Сортировка
От Scott Royston
Тема getObject returns wrong type for SMALLINT
Дата
Msg-id 7E529538-12E9-11D7-8E12-000393DB7C68@mac.com
обсуждение исходный текст
Список pgsql-jdbc
if you read the JDBC spec and look at table B-3 in the appendix, it
should be Integer, not Short.
it's confusing, because the 'preferred method' of retrieving a SMALLINT
is getShort(), and the preferred associated data type is short.
However, for getObject(), it should return an Integer.

sorry for not providing a patch, but it's been awhile since I've
touched cvs/patch and I don't have a ton of time right now...


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

Предыдущее
От: Thomas O'Dowd
Дата:
Сообщение: Re: Strange behaviour of JDBC driver for PostgreSQL
Следующее
От: Noel Faux
Дата:
Сообщение: Re: error when using move, any suggestions?