Re: getGeneratedKeys - Mailing list pgsql-jdbc

From Saleem EDAH-TALLY
Subject Re: getGeneratedKeys
Date
Msg-id 200903092326.44586.nmset@netcourrier.com
Whole thread Raw
In response to Re: getGeneratedKeys  (Kris Jurka <books@ejurka.com>)
Responses Re: getGeneratedKeys  (Kris Jurka <books@ejurka.com>)
List 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



pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: [PERFORM] Query much slower when run from postgres function
Next
From: Kris Jurka
Date:
Subject: Re: getGeneratedKeys