Re: tightening up on use of oid 0

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: tightening up on use of oid 0
Дата
Msg-id Pine.BSO.4.56.0410081803430.6860@leary.csoft.net
обсуждение исходный текст
Ответ на Re: tightening up on use of oid 0  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc

On Sat, 9 Oct 2004, Oliver Jowett wrote:

> > Can't the existing PGobject interface handle this.  You can create a
> > PGobject with the correct datatype and a null value and that should work.
>
> OK, so getValue() and toString() return null?

Right.

> This would still mean that setNull() would not work for Types.OTHER, though.
>

I don't think this is a very big deal.  The only place this looks
important is for an overloaded function call.  The previous driver didn't
have any typing at all for NULLs, and I can only recall one complaint
about.  The other API additions you suggested didn't really appeal to me
and we have an "out" with PGobject, so I think we're OK here.

Kris Jurka


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: New jdbc website
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Fix setArray() when using the v3 protocol (was Re: Postgres