On Mon, 9 Mar 2009, Saleem EDAH-TALLY wrote: > This is just a request in the hope it may help not all but 95% of devs. The > other 5% would know by notice that they have to write their own solution; for > now, 100% of devs have to write their own. > > I have followed > http://archives.postgresql.org//pgsql-jdbc/2004-09/msg00191.php > and > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&c2coff=1&safe=off&threadm=Pine.LNX.4.33.0312301523060.5331-100000@leary.csoft.net&rnum=3&prev=/groups?q=generated+keys&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.interfaces.jdbc&c2coff=1&safe=off&selm=Pine.LNX.4.33.0312301523060.5331-100000%40leary.csoft.net&rnum=3 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:
Соглашаюсь с условиями обработки персональных данных