Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 045959FBD07 for ; Thu, 8 Mar 2007 23:56:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 22594-02 for ; Thu, 8 Mar 2007 23:56:26 -0400 (AST) X-Greylist: delayed 00:06:40.074136 by SQLgrey-1.7.4 Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by postgresql.org (Postfix) with SMTP id 4BEE89FBFEC for ; Thu, 8 Mar 2007 23:56:33 -0400 (AST) Received: (qmail 27192 invoked from network); 9 Mar 2007 03:49:51 -0000 Received: from 67.125.72.226 (HELO D9GKB4C1) (67.125.72.226) by relay00.pair.com with SMTP; 9 Mar 2007 03:49:51 -0000 X-pair-Authenticated: 67.125.72.226 From: "Gary Greenberg" To: Subject: Error while retrieving generated keys Date: Thu, 8 Mar 2007 19:49:52 -0800 Message-ID: <029901c761fd$feb196e0$740a3c0a@D9GKB4C1> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_029A_01C761BA.F08E56E0" X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acdh/f4KLeyWSggXS+GqEcX3q5ckLg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=BAYES_50, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200703/83 X-Sequence-Number: 16797 This is a multi-part message in MIME format. ------=_NextPart_000_029A_01C761BA.F08E56E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit My application trew the following exception: org.postgresql.util.PSQLException: Returning autogenerated keys is not supported. at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3C onnection.java:352) at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConn ection.java:394) at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepare Statement(PoolingDataSource.java:370) I am using 8.2-504.jdbc3 driver with the PostgreSql 8.0.8 on SUSE Linux. I have not seen anywhere in the documentation that this standard JDBC3 feature is not supported. Can anyone explain it to me, please. ------=_NextPart_000_029A_01C761BA.F08E56E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

My application trew the following = exception:

 

org.postgresql.util.PSQLException: Returning = autogenerated keys is not supported.

        at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdb= c3Connection.java:352)

        at org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingC= onnection.java:394)

        at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prep= areStatement(PoolingDataSource.java:370)

 

I am using 8.2-504.jdbc3 driver with the PostgreSql = 8.0.8 on SUSE Linux.

I have not seen anywhere in the documentation that = this standard JDBC3 feature is not supported.

Can anyone explain it to me, = please.

------=_NextPart_000_029A_01C761BA.F08E56E0--