Обсуждение: reading null date field

Поиск
Список
Период
Сортировка

reading null date field

От
Glenn Holmer
Дата:
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

Re: reading null date field

От
Kris Jurka
Дата:

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


Re: reading null date field

От
Glenn Holmer
Дата:
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