Re: Escape characters, JDBC and ColdFusion MX

From: Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Escape characters, JDBC and ColdFusion MX
Date: 2002-08-02 13:45:50
Message-ID: 3D4A8D0E.6050601@oli.tudelft.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Aaron Mulder 2002-08-02 13:56:33 Re: Creating a PostgreSql Connection Pool in Tomcat3.2
Previous Message Aaron Mulder 2002-08-02 13:37:18 Re: Problem w/ getImportedKeys()