Re: Escape characters, JDBC and ColdFusion MX

Поиск
Список
Период
Сортировка
От Jochem van Dieten
Тема Re: Escape characters, JDBC and ColdFusion MX
Дата
Msg-id 3D4A8D0E.6050601@oli.tudelft.nl
обсуждение исходный текст
Ответ на Escape characters, JDBC and ColdFusion MX  (Jochem van Dieten <jochemd@oli.tudelft.nl>)
Список pgsql-jdbc
Jochem van Dieten wrote:
>
> I have a problem with inserting strings into a PostgreSQL database using
> ColdFusion MX. Somehow the backslash is not identified as an escape
> character.

Macromedia Tech Support came with a solution for this one. The solution
is to use the ColdFusion MX <cfqueryparam> tag that uses the
PreparedStatement class. And, contrary to the native ColdFusion MX
<cfquery> tag, the PostgreSQL JDBC driver knows how to escape a backslash :)

Jochem


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

Предыдущее
От: Aaron Mulder
Дата:
Сообщение: Re: Problem w/ getImportedKeys()
Следующее
От: Aaron Mulder
Дата:
Сообщение: Re: Creating a PostgreSql Connection Pool in Tomcat3.2