The only exception to this rule is backslashes and (when using LIKE) the
'%' and '_' characters. Although if you're running 8.2 and turn the
standard_conforming_strings setting ON then you don't need to worry
about backslashes.
-- Mark Lewis
On Wed, 2006-12-13 at 17:21 +0000, Heikki Linnakangas wrote:
> 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.
>