Skip site navigation (1) Skip section navigation (2)

Re: getGeneratedKeys

From: "Saleem EDAH-TALLY" <nmset(at)netcourrier(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getGeneratedKeys
Date: 2009-03-09 22:26:44
Message-ID: 200903092326.44586.nmset@netcourrier.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
I've tried for single and multiple inserts and it does work.
I don't know what would be returned if a table has more than one sequence as 
default value for columns, I don't have need for this so I won't try.

Just for curiosity, does it work by driver implementation solely or are there 
changes in PostgreSQL backend that help the implementation ?

Thanks.

>
> Those are pretty old, see:
>
> http://archives.postgresql.org/pgsql-jdbc/2008-11/msg00041.php
>
> http://archives.postgresql.org/pgsql-jdbc/2009-01/msg00015.php
>
> The upcoming 8.4 driver will contain support for getGeneratedKeys.  If you
> want to test this out yourself, download the code from CVS or a prebuilt
> jar from the link in the second message.
>
> Kris Jurka


In response to

Responses

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2009-03-09 22:39:03
Subject: Re: getGeneratedKeys
Previous:From: Mario SplivaloDate: 2009-03-09 22:13:32
Subject: Re: Query much slower when run from postgres function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group