pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
reading null date field
3+ messages / 2 participants
[nested] [flat]

* reading null date field
@ 2006-05-23 18:34  Glenn Holmer <gholmer@weycogroup.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Glenn Holmer @ 2006-05-23 18:34 UTC (permalink / raw)
  To: pgsql-jdbc

We just upgraded from build 315 to build 316 of the 8.0 JDBC driver, and 
I find that ResultSet.getDate() throws if the database field contains a 
null, whereas with build 315 it just returned a null.  Is this the 
intended behavior?

-- 
____________________________________________________________
Glenn Holmer                          gholmer@weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: reading null date field
@ 2006-05-23 19:27  Kris Jurka <books@ejurka.com>
  parent: Glenn Holmer <gholmer@weycogroup.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Kris Jurka @ 2006-05-23 19:27 UTC (permalink / raw)
  To: Glenn Holmer <gholmer@weycogroup.com>; +Cc: pgsql-jdbc



On Tue, 23 May 2006, Glenn Holmer wrote:

> We just upgraded from build 315 to build 316 of the 8.0 JDBC driver, and
> I find that ResultSet.getDate() throws if the database field contains a
> null, whereas with build 315 it just returned a null.  Is this the
> intended behavior?
>

No, I apparently butchered both the 8.0 and 8.1 releases.  New versions 
coming soon.

Kris Jurka




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: reading null date field
@ 2006-05-23 20:02  Glenn Holmer <gholmer@weycogroup.com>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Glenn Holmer @ 2006-05-23 20:02 UTC (permalink / raw)
  To: pgsql-jdbc

On Tuesday 23 May 2006 14:27, Kris Jurka wrote:
> On Tue, 23 May 2006, Glenn Holmer wrote:
> > We just upgraded from build 315 to build 316 of the 8.0 JDBC
> > driver, and I find that ResultSet.getDate() throws if the database
> > field contains a null, whereas with build 315 it just returned a
> > null.  Is this the intended behavior?
>
> No, I apparently butchered both the 8.0 and 8.1 releases.  New
> versions coming soon.

OK, thanks.  We just reverted to 315 in the meantime.

-- 
____________________________________________________________
Glenn Holmer                          gholmer@weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2006-05-23 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 18:34 reading null date field Glenn Holmer <gholmer@weycogroup.com>
2006-05-23 19:27 ` Kris Jurka <books@ejurka.com>
2006-05-23 20:02   ` Glenn Holmer <gholmer@weycogroup.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox