Re: JDBC driver method setClob always uses getAsciiStream()

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC driver method setClob always uses getAsciiStream()
Дата
Msg-id alpine.BSO.2.00.1009080510020.3032@leary.csoft.net
обсуждение исходный текст
Ответ на JDBC driver method setClob always uses getAsciiStream()  (Jochen Terstiege <jochen.terstiege@quinscape.de>)
Список pgsql-jdbc

On Tue, 7 Sep 2010, Jochen Terstiege wrote:

> Using driver: postgresql-8.4-701.jdbc3.jar
>
> The method setClob() in the AbstractJdbc2Statement calls the method
> getAsciiStream() on the provided Clob. This leads to problems if the given
> Clob contains an UTF-8 encoded string.
>
> Shouldn't the driver call getCharacterStream() instead? Can this problem be
> solved in a different way?
>

Here are my comments from the identical earlier report on the -bugs list.

http://archives.postgresql.org/pgsql-bugs/2010-09/msg00034.php

Kris Jurka

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

Предыдущее
От: joiny
Дата:
Сообщение: postgresql 8.4 type mapping problem
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: postgresql 8.4 type mapping problem