Re: Any changes in Java and PGSQL 9.4?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Any changes in Java and PGSQL 9.4?
Дата
Msg-id m9h1br$vs0$1@ger.gmane.org
обсуждение исходный текст
Ответ на Any changes in Java and PGSQL 9.4?  (Bjørn T Johansen <btj@havleik.no>)
Список pgsql-general
Bjørn T Johansen wrote on 18.01.2015 20:20:
> Just noticed that a column field of type bigint containing a null, becomes a 0 when retrieving it from the resultset
usingJDBC. 
> If I run the same application against my old 9.3 database, the value retrieved is a null....
>
>

You need to show us some code.

getInt() or getLong() can never return null because primitives can't be null in Java.






--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



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

Предыдущее
От: Guillaume Drolet
Дата:
Сообщение: Re: Starting new cluster from base backup
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Partitioning