Re: Any changes in Java and PGSQL 9.4? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Any changes in Java and PGSQL 9.4?
Date
Msg-id m9h1br$vs0$1@ger.gmane.org
Whole thread Raw
In response to Any changes in Java and PGSQL 9.4?  (Bjørn T Johansen <btj@havleik.no>)
List 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 by date:

Previous
From: Guillaume Drolet
Date:
Subject: Re: Starting new cluster from base backup
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Partitioning