X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 688223A52CF for ; Tue, 30 Nov 2004 05:41:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55174-03 for ; Tue, 30 Nov 2004 05:41:26 +0000 (GMT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by svr1.postgresql.org (Postfix) with ESMTP id 7288A3A442D for ; Tue, 30 Nov 2004 05:41:23 +0000 (GMT) Received: from [10.1.1.33] (ppp225-191.lns1.bne1.internode.on.net [203.122.225.191]) by smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id iAU5fK4Y042150 for ; Tue, 30 Nov 2004 16:11:21 +1030 (CST) Subject: Primary Key Error Updating Rows in ResultSet From: Peter Smith To: pgsql-jdbc@postgresql.org Content-Type: text/plain Message-Id: <1101793279.2917.43.camel@debian> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 30 Nov 2004 15:41:19 +1000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/225 X-Sequence-Number: 11647 Hi, I'm getting the error 'java.sql.SQLException: No Primary Keys' when trying to update a resultset based on a table with a primary key. The exception appears to be occuring when I call the updateObject() method. I'm using pg74.215.jdbc3.jar & postgresql 7.4.6. Any suggestions? peter