getGeneratedKeys()

From: Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: getGeneratedKeys()
Date: 2005-04-01 00:05:59
Message-ID: 424C9067.2030405@doitonce.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Hi to all,

I have one problem with PostgreSQL and Java. I have a table with Primary
key(serial) field, but after I insert a record i am unable to retrieve
this value. I have tried getGeneratedKeys() and i get nothing returned.

There is another method to retrieve this field?

thanks

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2005-04-01 00:29:58 Re: Online Backups with 8.0 -- Confused
Previous Message Adrian Engelbrecht 2005-03-31 23:48:37 How to associate locks with a Postgres object

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2005-04-01 00:33:31 Re: getGeneratedKeys()
Previous Message Tom Lane 2005-03-31 23:33:32 Re: truncate/create slowness