[pgjdbc/pgjdbc] eb33c4: fix: avoid NPE from getObject(..., Date.class) and...

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] eb33c4: fix: avoid NPE from getObject(..., Date.class) and...
Date: 2018-01-16 14:07:11
Message-ID: 5a5e070f42ab4_22972abebdbc1c0811079d@hookshot-fe-88eb02d.cp1-iad.github.net.mail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: eb33c4c8e27d6df6ccd9c0a81eb119edeb069d55
https://github.com/pgjdbc/pgjdbc/commit/eb33c4c8e27d6df6ccd9c0a81eb119edeb069d55
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2018-01-16 (Tue, 16 Jan 2018)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/GetObjectTest.java

Log Message:
-----------
fix: avoid NPE from getObject(..., Date.class) and getObject(..., Calendar.class) on null timestamps

fixes #1071

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2018-01-16 14:08:56 [pgjdbc/pgjdbc] a8260f: first pass at release notes and some fixes to prev...
Previous Message Vladimír Houba ml. 2018-01-16 07:47:40 jdbc targetServerType=slave with readonly connection