Re: Cannot pass null in Parameter in Query for ISNULL

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Cannot pass null in Parameter in Query for ISNULL
Дата
Msg-id CADK3HH+HyAqdSANnYYJvH3nNjCsRZBR-wb37PpvVQaonuXXrVA@mail.gmail.com
обсуждение исходный текст
Ответ на Fwd: Cannot pass null in Parameter in Query for ISNULL  (Maciek Sakrejda <msakrejda@truviso.com>)
Ответы Re: Cannot pass null in Parameter in Query for ISNULL  (Maciek Sakrejda <msakrejda@truviso.com>)
Re: Cannot pass null in Parameter in Query for ISNULL  (Bernard <bht237@gmail.com>)
Список pgsql-jdbc
> [1] (from PreparedStatement.setObject): "Note: Not all databases allow
> for a non-typed Null to be sent to the backend. For maximum
> portability, the setNull or the setObject(int parameterIndex, Object
> x, int sqlType) method should be used instead of setObject(int
> parameterIndex, Object x). "
> ---


This was essentially Oliver's argument. The spec specifically tells
you what to do.

Bernard, if you point this out to the projects in question what do they say ?

Dave

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

Предыдущее
От: Maciek Sakrejda
Дата:
Сообщение: Fwd: Cannot pass null in Parameter in Query for ISNULL
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: Cannot pass null in Parameter in Query for ISNULL