Re: PreparedStatement#setString on non-string parameters

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: PreparedStatement#setString on non-string parameters
Дата
Msg-id 422DA40F.5010206@fastcrypt.com
обсуждение исходный текст
Ответ на Re: PreparedStatement#setString on non-string parameters  (Guillaume Cottenceau <gc@mnc.ch>)
Список pgsql-jdbc
That makes sense.

I just checked my reference and I can't find any document that suggests
that setString should do a conversion.

setObject is required to by the spec.

Dave

Guillaume Cottenceau wrote:

>Dave Cramer <pg 'at' fastcrypt.com> writes:
>
>
>
>>Silvio,
>>
>>I presume you are talking about setObject ??? I can't find a
>>setString(non-string param)
>>
>>
>
>He says "XML data (..) many numeric values are available as
>Strings" so I think the SQL column is numeric but the rest is
>string (a java string containing the string representation of the
>numeric value).
>
>
>

--
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561


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

Предыдущее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: PreparedStatement#setString on non-string parameters
Следующее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: PreparedStatement#setString on non-string parameters