Null values with the JDBC driver

Поиск
Список
Период
Сортировка
От Martin Zeigler
Тема Null values with the JDBC driver
Дата
Msg-id 00120309253400.02112@maverick.zigsoft.com
обсуждение исходный текст
Список pgsql-interfaces
When you call "getObject()" with the JDBC driver on a ResultSet for an Integer
field and the value stored in the database is null, shouldn't the driver also
return a null instead of Integer(0) ?

If I had called "getInt()" on it I would expect that kind of behavior.  But
when I called getObject, I expected null values.  Is this the correct behavior?

Martin Zeigler


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

Предыдущее
От: Cedar Cox
Дата:
Сообщение: Re: JDBC and long TEXT fields
Следующее
От: Ingo Luetkebohle
Дата:
Сообщение: jdbc: getBinaryStream blocks on second call