JDBC problem with DELETE - Mailing list pgsql-interfaces

From Dnesbitt@encryptix.com
Subject JDBC problem with DELETE
Date
Msg-id 19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX
Whole thread Raw
Responses Re: JDBC problem with DELETE
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: "Joel Burton"
Date:
Subject: PostgreSQL + Microsoft Access FAQ Draft Announcement
Next
From: "S.A.Pamungkas"
Date:
Subject: result not appear