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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Support of getting generated keys in driver version 8.4devel


  • From: Kris Jurka <books(at)ejurka(dot)com>
  • To: Miłosz Tylenda <mtylenda(at)gmail(dot)com>
  • Cc: pgsql-jdbc(at)postgresql(dot)org
  • Subject: Re: Support of getting generated keys in driver version 8.4devel
  • Date: Wed, 28 Jan 2009 01:52:42 -0800
  • Message-id: <49802AEA.30701@ejurka.com> <text/plain>

Miłosz Tylenda wrote:
Please try this updated driver which supports generated keys for prepared
statements as well.  I've also flipped supportsGetGeneratedKeys to true as I
believe that will be more helpful to more users.

http://ejurka.com/pgsql/jars/genkey/

Thanks for the update. I have done a few tests and it works.
supportsGetGeneratedKeys returns true and I was able to successfully
insert rows and get generated keys by using column names.


I've committed this code to CVS.

Kris Jurka



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group