Re: null to zero?

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: null to zero?
Дата
Msg-id 3AD3A374.3E44FC0B@selectacast.net
обсуждение исходный текст
Ответ на RE: null to zero?  ("chris markiewicz" <cmarkiew@commnav.com>)
Список pgsql-jdbc
That is correct.  This behavior is supposed to go away in 7.1

chris markiewicz wrote:
>
> hello.
>
> it seems that a null value in an integer (int4) column gets converted to
> zero at some point...is this accurate?  i look in the db and see null
> (queried using IS NULL to make sure), but i call an rs.getObject(colName)
> and get a java.lang.Integer with a value of zero...is this in jdbc or java?
> an Integer can BE null, but it cannot have a value of null...
>
> didn't see anything in the archives...
>


--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com

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

Предыдущее
От: Peter Mount
Дата:
Сообщение: Re: [GENERAL] JDBC and Perl compiling problems w/ postgresql-7.1rc4
Следующее
От: "chris markiewicz"
Дата:
Сообщение: RE: fastpath error?