Re: getGeneratedKeys()

From: <henr-and(at)dsv(dot)su(dot)se>
To: <johnsw(at)wardbrook(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: getGeneratedKeys()
Date: 2003-12-30 23:18:47
Message-ID: 33309.213.89.23.209.1072826327.squirrel@www.dsv.su.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Marcus Andree S. Magalhaes 2003-12-30 23:28:21 Re: getGeneratedKeys()
Previous Message John Sidney-Woollett 2003-12-30 22:47:41 Re: getGeneratedKeys()