From: Craig May <craig.may@s2.enthdimension.com.au>
To: pgsql-sql@postgresql.org
Subject: currval
Date: Mon, 2 Oct 2000 04:56:20 +0000
Message-ID: <20001002045620.B6334@s2.enthdimension.com.au> (raw)
In-Reply-To: <20001002045414.A6334@s2.enthdimension.com.au>
References: <20001002045414.A6334@s2.enthdimension.com.au>
Hi,
I'm executing the following statements in series.
insert into [tablename] values('a', 'b', 'c');
select currval('serial');
serial being the default index on [tablename]
The statement works fine from the command line, however, when executing via
jdbc, I'm getting no results back (null pointer).
Has anyone experienced this and have a solution?
Regards,
Craig May
Enth Dimension
http://www.enthdimension.com.au
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: craig.may@s2.enthdimension.com.au
Subject: Re: currval
In-Reply-To: <20001002045620.B6334@s2.enthdimension.com.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