Re: String escaping? - Mailing list pgsql-jdbc

From Heikki Linnakangas
Subject Re: String escaping?
Date
Msg-id 4580368D.8070300@enterprisedb.com
Whole thread Raw
In response to String escaping?  (David Nedrow <dnedrow@mac.com>)
Responses Re: String escaping?
List pgsql-jdbc
David Nedrow wrote:
> Are there any build-in JDK or JDBC (Sun or Postgresql driver) functions
> for escaping strings before inserting/updating in the DB?
>
> Eg., I'm using the following PreparedStatement...

You don't generally need to escape your strings if you're using
PreparedStatements.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-jdbc by date:

Previous
From: David Nedrow
Date:
Subject: String escaping?
Next
From: Mark Lewis
Date:
Subject: Re: String escaping?