Stored Functions - Mailing list pgsql-jdbc

From Yolanda Phillips
Subject Stored Functions
Date
Msg-id 000901c36e07$b46dd870$2300800a@dlkapp.dlkconsulting.co.za
Whole thread Raw
Responses Re: Stored Functions
Re: Stored Functions
List pgsql-jdbc
Good day,

Thanks to Barry Lind's response, I am now able to successfully use stored
functions with JDBC.

However, I've searched the archives and the doc's, but unable to find a
solution to the following:

I'm wanting to do an insert, then if it was successfull the function should
return the id. This id is using a sequence.nextval(). How do I return the
new id?

Help in the right direction will be appreciated.


Sincerely,


Yolanda Phillips
Web Applications Developer


pgsql-jdbc by date:

Previous
From: "Scot P. Floess"
Date:
Subject: Re: Callbacks for NOTIFY
Next
From: Anders Hermansen
Date:
Subject: Re: Stored Functions