Re: getGeneratedKeys() - Mailing list pgsql-jdbc

From
Subject Re: getGeneratedKeys()
Date
Msg-id 33309.213.89.23.209.1072826327.squirrel@www.dsv.su.se
Whole thread Raw
In response to Re: getGeneratedKeys()  ("John Sidney-Woollett" <johnsw@wardbrook.com>)
Responses Re: getGeneratedKeys()
Re: getGeneratedKeys()
Re: getGeneratedKeys()
Re: getGeneratedKeys()
List pgsql-jdbc
> Can you do the insert using a function instead, and return the currval
> on the underlying sequence?
>
> John
>

I'm not sure what you mean. A stored procedure?

The good thing about getGeneratedKeys() is that you don't have to write
DB-specific code.
--
Henrik



pgsql-jdbc by date:

Previous
From: "John Sidney-Woollett"
Date:
Subject: Re: getGeneratedKeys()
Next
From: "Marcus Andree S. Magalhaes"
Date:
Subject: Re: getGeneratedKeys()