Re: setObject on PGInterval throws "Unknown Type null"

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: setObject on PGInterval throws "Unknown Type null"
Дата
Msg-id Pine.BSO.4.56.0501251726160.19087@leary.csoft.net
обсуждение исходный текст
Ответ на Re: setObject on PGInterval throws "Unknown Type null"  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: setObject on PGInterval throws "Unknown Type null"
Список pgsql-jdbc

On Wed, 26 Jan 2005, Oliver Jowett wrote:

> [ways to set null values for non-standard types]

I'm kind of leaning to removing the restriction that nulls must be
strongly typed.  Compared to the current workarounds the idea that a
(very) few cases won't work isn't that bad.  What I recall "? IS NULL"
won't work and "func(?)" could be ambiguous, but that doesn't stop you
from specifying a type for these cases.  For non-null values we need the
strong typing to ensure that we don't send data in a different format than
the server expects, but this is not an issue with nulls.

Kris Jurka

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: postgresql 7.4.6-6, hibernate-2.1.6, jdbc3