Re: how to Escape single quotes with PreparedStatment

Поиск
Список
Период
Сортировка
От Chris Wareham
Тема Re: how to Escape single quotes with PreparedStatment
Дата
Msg-id 4E523050.10000@londonandpartners.com
обсуждение исходный текст
Ответ на Re: how to Escape single quotes with PreparedStatment  (Chris Wareham <cwareham@londonandpartners.com>)
Список pgsql-jdbc
On 22/08/11 11:04, Chris Wareham wrote:
>
> stmt = con.prepareStatement(query);
>

Should of course be:

stmt = con.prepareStatement(query.toString());

Chris

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

Предыдущее
От: JavaNoobie
Дата:
Сообщение: Re: how to Escape single quotes with PreparedStatment
Следующее
От: Chris Wareham
Дата:
Сообщение: Re: how to Escape single quotes with PreparedStatment