Re: PreparedStatement.toString() creates valid SQL; was: Q: use setObject also for int or string

Поиск
Список
Период
Сортировка
От Michael Enke
Тема Re: PreparedStatement.toString() creates valid SQL; was: Q: use setObject also for int or string
Дата
Msg-id 48D7EDC0.5030009@wincor-nixdorf.com
обсуждение исходный текст
Ответ на Re: PreparedStatement.toString() creates valid SQL; was: Q: use setObject also for int or string  (Kris Jurka <books@ejurka.com>)
Ответы Re: PreparedStatement.toString() creates valid SQL; was: Q: use setObject also for int or string  (Kris Jurka <books@ejurka.com>)
Re: PreparedStatement.toString() creates valid SQL; was: Q: use setObject also for int or string  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Attached file contains all changed java sources to make your testcase working.
I added to ParameterList interface a method toSQLString(int).

I did not implement the InputStream because
1) I do not know the encoding of data
2) it could be an InputStream which can not be reset

Michael

> See the attached test case.

--
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhaltenhaben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
dieunbefugte Weitergabe dieser E-Mail ist nicht gestattet. 

This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail
inerror) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distributionof the material in this e-mail is strictly forbidden.  


Вложения

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: PreparedStatement.toString() creates valid SQL; was: Q: use setObject also for int or string
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: COPY support in JDBC driver?