Re: INSERT and get ID

From: Peter(dot)Zoche(at)materna(dot)de
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: INSERT and get ID
Date: 2005-07-27 13:29:41
Message-ID: 3617A3C21370D045B75C0A40A7A6530D0B37E19A@ntexc2buc.do-office.buc.materna.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> You have to do a a "SELECT curval('myseq')" after the insert.

I had this in mind, too, but I am not sure if it is really safe if
there are several inserts at the same time...

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2005-07-27 13:37:52 Re: INSERT and get ID
Previous Message Roland Walter 2005-07-27 13:25:58 Re: INSERT and get ID