X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 69EE69FA15C for ; Tue, 16 May 2006 15:41:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 61120-05 for ; Tue, 16 May 2006 15:41:24 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by postgresql.org (Postfix) with ESMTP id D2C139F9C9E for ; Tue, 16 May 2006 15:41:23 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id q29so2811nfc for ; Tue, 16 May 2006 11:41:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MP1Bv2+HE4gdnqcVc7ZEnDyCqvpibkGkAG6eOSK12kRpAvd7I6fnIk52vzBTCyMBCuGf9dQM0lG2QdKzS3Zdztfgy4RZOu02AGaYpWM6IMuCEA1EX0IcUYyHomPl1Cgk95H5MGqKnsv7SvQ3lccrR3ZsWLY1IGO4jPzz/szdyec= Received: by 10.48.205.17 with SMTP id c17mr50305nfg; Tue, 16 May 2006 11:41:18 -0700 (PDT) Received: by 10.48.248.1 with HTTP; Tue, 16 May 2006 11:41:18 -0700 (PDT) Message-ID: <883e44790605161141h11ef46f4h4492214361aea050@mail.gmail.com> Date: Tue, 16 May 2006 11:41:18 -0700 From: "Chuck Davis" To: pgsql-jdbc@postgresql.org Subject: Re: JDBC driver and java strings MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/59 X-Sequence-Number: 15187 Does anybody know if there is a plan to make the driver handle java strings appropriately? I have hit a showstopper. If I enter data in a JTextfield with an apostrophe the driver chokes with a syntax error. I don't know how IBM does it but their JDBC driver handles apostrophes without a problem. DB2 has been my main database but I'm evaluating Postgresql on Linux. I can't ask my users to avoid entering data with an apostrophe and I'm too lazy to program around it since I know it can be done otherwise once and for all. I looked in the archives for this year but I didn't see any mention of the problem. Chuck Davis