preparedStatement

From: tony <tony(at)animaproductions(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: preparedStatement
Date: 2002-04-25 10:58:14
Message-ID: 1019732294.30789.40.camel@vaio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joseph Shraibman 2002-04-25 20:25:48 NullPointerException with 7.2.1 ResultSet
Previous Message Tom Lane 2002-04-24 14:56:48 Re: SINTAX ERROR!!