pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tony <tony@animaproductions.com>
To: pgsql-jdbc@postgresql.org
Subject: preparedStatement
Date: 25 Apr 2002 12:58:14 +0200
Message-ID: <1019732294.30789.40.camel@vaio> (raw)

Hey guys,

Did you change anything in preparedStatement since 7.0x?

Does it escape ' still?

I have tracked my mysterious ' problem down to the fact that before
(tomcat 3.x, postgresql + jdbc 7.0x) all ' inserted/selected into/from
the database were escaped correctly.

Now (tomcat4.0.2, postgresql + JDBC 7.2) they aren't. After crawling for
hours through the forums over at Sun it seems that preparedStatement
should look after single ' in queries.

Waiting impatiently on your views

All JSP code generated by Ultradev of course

Cheers

Tony Grant
-- 
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html




view thread (6+ messages)  latest in thread

Message-ID: <1019732294.30789.40.camel@vaio>
Permalink:  ../1019732294.30789.40.camel@vaio/
Also on:    postgresql.org/message-id/1019732294.30789.40.camel@vaio

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tony@animaproductions.com
  Subject: Re: preparedStatement
  In-Reply-To: <1019732294.30789.40.camel@vaio>
  References: <1019732294.30789.40.camel@vaio>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox