pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Gary Greenberg <gary@icontrol.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Error while retrieving generated keys
Date: Fri, 9 Mar 2007 07:00:55 -0500
Message-ID: <84E14102-5D12-4A77-8FAF-05AD74992DF1@fastcrypt.com> (raw)
In-Reply-To: <029901c761fd$feb196e0$740a3c0a@D9GKB4C1>
References: <029901c761fd$feb196e0$740a3c0a@D9GKB4C1>

Gary,

Check the list archives please, we have just had this discussion at  
length very recently.

The short version is that it is not currently implemented.

Dave
On 8-Mar-07, at 10:49 PM, Gary Greenberg wrote:

> My application trew the following exception:
>
>
>
> org.postgresql.util.PSQLException: Returning autogenerated keys is  
> not supported.
>
>         at  
> org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement 
> (AbstractJdbc3Connection.java:352)
>
>         at  
> org.apache.commons.dbcp.DelegatingConnection.prepareStatement 
> (DelegatingConnection.java:394)
>
>         at org.apache.commons.dbcp.PoolingDataSource 
> $PoolGuardConnectionWrapper.prepareStatement(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.
>
>

view thread (11+ messages)  latest in thread

Message-ID: <84E14102-5D12-4A77-8FAF-05AD74992DF1@fastcrypt.com>
Permalink:  ../84E14102-5D12-4A77-8FAF-05AD74992DF1@fastcrypt.com/
Also on:    postgresql.org/message-id/84E14102-5D12-4A77-8FAF-05AD74992DF1@fastcrypt.com

 · 

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: pg@fastcrypt.com, gary@icontrol.com
  Subject: Re: Error while retrieving generated keys
  In-Reply-To: <84E14102-5D12-4A77-8FAF-05AD74992DF1@fastcrypt.com>
  References: <029901c761fd$feb196e0$740a3c0a@D9GKB4C1> <84E14102-5D12-4A77-8FAF-05AD74992DF1@fastcrypt.com>

* 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