From: Jamie Deppeler <jamie@doitonce.net.au>
To: pgsql-general@postgresql.org
Subject: getGeneratedKeys()
Date: Fri, 01 Apr 2005 10:05:59 +1000
Message-ID: <424C9067.2030405@doitonce.net.au> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jamie@doitonce.net.au, pgsql-general@postgresql.org
Subject: Re: getGeneratedKeys()
In-Reply-To: <424C9067.2030405@doitonce.net.au>
References: <424C9067.2030405@doitonce.net.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox