X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5B85C9FA1A8 for ; Fri, 2 Jun 2006 12:18:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 83479-02 for ; Fri, 2 Jun 2006 12:18:01 -0300 (ADT) X-Greylist: delayed 00:29:17.700762 by SQLgrey- Received: from mrqout2.tiscali.it (mrqout2.tiscali.it [195.130.225.12]) by postgresql.org (Postfix) with ESMTP id C82D09FA040 for ; Fri, 2 Jun 2006 12:18:01 -0300 (ADT) Received: from 10.39.115.24 by mrq-2 with esmtp (Exim) id 1FmAxO-0007oS-Ul; Fri, 02 Jun 2006 16:48:59 +0200 Received: from ps21 (10.39.75.91) by mail-4.mail.tiscali.sys (7.2.066.3) id 4417DC3D000F338A for pgsql-jdbc@postgresql.org; Fri, 2 Jun 2006 16:48:58 +0200 Message-ID: <24609936.1149259738344.JavaMail.root@ps21> Date: Fri, 2 Jun 2006 16:48:58 +0200 (CEST) From: "rcolmegna@tiscali.it" Reply-To: "rcolmegna@tiscali.it" To: pgsql-jdbc@postgresql.org Subject: CachedRowSet insertion problem with serial PK MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: quoted-printable xOriginalSenderIP: 151.38.135.18 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/8 X-Sequence-Number: 15288 hi, I'm tring postgresql-8.1-407.jdbc3.jar (with PG 7.4.3 srv) and=20 CachedRowSet (Sun implementation). I have a small test table: it has two fields:=20 1) id SERIAL NOT NULL PRIMARY KEY 2) info VARCHAR(100) I try this java code: CachedRowSet rs; ... rs.setCommand("select id,info from a WHERE id)" I obtain a true reply. Any idea? TIA Roberto Colmegna =09=09 La gara pi=C3=B9 entusiasmante dell'anno!=20 Gioca e corri alla velocit=C3=A0 della luce sui 18 circuiti di Intel Speed = Contest 2006! I pi=C3=B9 bravi vincono Notebook Sony VAIO, iPod da 60 GB e altro ancora..= .=20 Sfida gli amici! http://intelspeedcontest2006.tiscali.it/=20 =09