Re: setUseServerPrepare & typecasts

Поиск
Список
Период
Сортировка
От Aaron Mulder
Тема Re: setUseServerPrepare & typecasts
Дата
Msg-id Pine.LNX.4.44.0211131848020.26423-100000@www.princetongames.org
обсуждение исходный текст
Ответ на Re: setUseServerPrepare & typecasts  (Barry Lind <blind@xythos.com>)
Список pgsql-jdbc
On Wed, 13 Nov 2002, Barry Lind wrote:
> Scott,
>
> That makes sense because null takes a different code path than a real
> value.  Thanks for the test case.  I will look into this.

    But I don't think you're supposed to use setObject for a null
value.  Instead, try

setNull(1, Types.INTEGER)

Aaron



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

Предыдущее
От: Aaron Mulder
Дата:
Сообщение: Re: JDBC3 and DataSource
Следующее
От: Nic Ferrier
Дата:
Сообщение: Re: streaming result sets: progress