Received: from exchcon1etix.encryptix.com (encryptixhost.encryptix.com [216.172.101.7]) by hub.org (8.10.1/8.10.1) with ESMTP id e6R4fHA57640 for ; Thu, 27 Jul 2000 00:41:18 -0400 (EDT) Received: by exchcon1etix.encryptix.com with Internet Mail Service (5.5.2650.21) id <3KTCC5Q1>; Wed, 26 Jul 2000 21:41:12 -0700 Message-ID: <19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX> 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 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200007/190 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