pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chuck Davis <cjgunzel@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC driver and java strings
Date: Tue, 16 May 2006 11:41:18 -0700
Message-ID: <883e44790605161141h11ef46f4h4492214361aea050@mail.gmail.com> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <883e44790605161141h11ef46f4h4492214361aea050@mail.gmail.com>
Permalink:  ../883e44790605161141h11ef46f4h4492214361aea050@mail.gmail.com/
Also on:    postgresql.org/message-id/883e44790605161141h11ef46f4h4492214361aea050@mail.gmail.com

 · 

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: cjgunzel@gmail.com
  Subject: Re: JDBC driver and java strings
  In-Reply-To: <883e44790605161141h11ef46f4h4492214361aea050@mail.gmail.com>
  References: <883e44790605161141h11ef46f4h4492214361aea050@mail.gmail.com>

* 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