| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kris Jurka | 2009-03-09 22:39:03 | Re: getGeneratedKeys |
| Previous Message | Mario Splivalo | 2009-03-09 22:13:32 | Re: Query much slower when run from postgres function |