Re: String escaping?

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: David Nedrow <dnedrow(at)mac(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: String escaping?
Date: 2006-12-13 17:21:17
Message-ID: 4580368D.8070300@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mark Lewis 2006-12-13 17:47:46 Re: String escaping?
Previous Message David Nedrow 2006-12-13 17:09:33 String escaping?