pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dnesbitt@encryptix.com
To: pgsql-interfaces@postgresql.org
Cc: Dnesbitt@encryptix.com
Subject: JDBC problem with DELETE
Date: Wed, 26 Jul 2000 21:41:26 -0700
Message-ID: <19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX> (raw)

The following piece of code:

   stmt.executeUpdate("delete from friend where name='"+someName+"'");

is returning:

   SQLException: java.sql.SQLException: ERROR: Attribute 'John Doe' not
found

where someName is "John Doe".

Any ideas?  The row where name='John Doe' is definitely in the table and I
can execute the statement without problems from psql.

Thanks in advance for your help.

Regards,
//Dave



view thread (9+ messages)  latest in thread

Message-ID: <19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX>
Permalink:  ../19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX/
Also on:    postgresql.org/message-id/19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: Dnesbitt@encryptix.com
  Subject: Re: JDBC problem with DELETE
  In-Reply-To: <19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX>

* 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