RE: null to zero?

Поиск
Список
Период
Сортировка
От chris markiewicz
Тема RE: null to zero?
Дата
Msg-id 020601c0beaa$33ea1330$dbb846c6@cmarkiewicz
обсуждение исходный текст
Ответ на Re: Help for java  (jlemcke <jlemcke@netspace.net.au>)
Ответы RE: null to zero?
Список pgsql-jdbc
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...

thanks
chris


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

Предыдущее
От: jlemcke
Дата:
Сообщение: Re: Help for java
Следующее
От: Sheer El-Showk
Дата:
Сообщение: Error codes in JDBC drivers