pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Smith <smithp@internode.on.net>
To: pgsql-jdbc@postgresql.org
Subject: Primary Key Error Updating Rows in ResultSet
Date: Tue, 30 Nov 2004 15:41:19 +1000
Message-ID: <1101793279.2917.43.camel@debian> (raw)

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




view thread (3+ messages)  latest in thread

Message-ID: <1101793279.2917.43.camel@debian>
Permalink:  ../1101793279.2917.43.camel@debian/
Also on:    postgresql.org/message-id/1101793279.2917.43.camel@debian

 · 

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: smithp@internode.on.net
  Subject: Re: Primary Key Error Updating Rows in ResultSet
  In-Reply-To: <1101793279.2917.43.camel@debian>
  References: <1101793279.2917.43.camel@debian>

* 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