X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 03457DA494 for ; Thu, 6 Oct 2005 22:55:41 -0300 (ADT) 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 91511-03 for ; Fri, 7 Oct 2005 01:55:35 +0000 (GMT) Received: from web52413.mail.yahoo.com (web52413.mail.yahoo.com [206.190.48.176]) by svr1.postgresql.org (Postfix) with SMTP id 112BADA487 for ; Thu, 6 Oct 2005 22:55:36 -0300 (ADT) Received: (qmail 1220 invoked by uid 60001); 7 Oct 2005 01:55:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nJhdrK9lbkDDNleTUzZx3tr5U3xWdCN0MFc85V2OfDgfjt7WCiFblYj2+4LnDwsCM+llwpAqmtkEowganJoofASs0zmxUB21WIS7r/gEafJrQunXs9It5UXAFesN0GzPVEJPFOkHohWbPXY5uxRLS0+pjVXZNNPzNDuudrjwueI= ; Message-ID: <20051007015540.1218.qmail@web52413.mail.yahoo.com> Received: from [68.232.130.253] by web52413.mail.yahoo.com via HTTP; Thu, 06 Oct 2005 18:55:40 PDT Date: Thu, 6 Oct 2005 18:55:40 -0700 (PDT) From: Srinivas Tata To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.944 required=5 tests=[DNS_FROM_RFC_ABUSE=0.374, MISSING_SUBJECT=1.57] X-Spam-Level: * X-Archive-Number: 200510/31 X-Sequence-Number: 13962 I am trying to use PostgreSQL and while trying to do a prototype, I am getting an error. In the TODO list (INSERT section), it is mentioned that "This is useful for returning the auto-generated key for an INSERT. One complication is how to handle rules that run as part of the insert." Does it mean PostgreSQL does not support returning autogenerated keys? I am using 803 version. I am getting the following error: org.postgresql.util.PSQLException: Returning autogenerated keys is not supported. at org.postgresql.jdbc3.AbstractJdbc3Statement.executeUpdate(AbstractJdbc3Statement.java:138) Thanks In Advance Srinivas Tata ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/