Re: moveToInsertRow SQL Exception "No Primary Keys"

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Jim Rosenberg <jr(at)amanue(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: moveToInsertRow SQL Exception "No Primary Keys"
Date: 2003-02-06 00:26:08
Message-ID: 1044491167.1121.159.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Jim,

Using the current cvs HEAD and creating the table as follows

create table coffees (cof_name char(32) not null primary key, sup_id
int, price double precision, sales int, total int);

your code works fine. the output is

Boo1
Boo2
Table COFFEES after insertion:
Kona 150 10.99 0 0

Dave
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-02-06 00:31:42 Re: moveToInsertRow SQL Exception "No Primary Keys"
Previous Message snpe 2003-02-05 20:58:10 Re: java.lang.OutOfMemoryError