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 ?
> Those are pretty old, see:
> 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
pgsql-jdbc by date
|Next:||From: Kris Jurka||Date: 2009-03-09 22:39:03|
|Subject: Re: getGeneratedKeys|
|Previous:||From: Mario Splivalo||Date: 2009-03-09 22:13:32|
|Subject: Re: Query much slower when run from postgres function|