From: | Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk> |
---|---|
To: | Kathy(dot)Zhu(at)Sun(dot)COM |
Cc: | "pgsql-general (at) postgresql (dot) org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: SQL-question: returning the id of an insert querry |
Date: | 2003-11-10 21:34:52 |
Message-ID: | 20031110213452.A22322@bacon |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 10/11/2003 17:22 Kathy Zhu wrote:
> I saw this method of Statement class in jdbc.
> Will the return int contain the autogenerated key value ??
>
> public int executeUpdate(String sql,
> int autoGeneratedKeys)
> throws SQLException
>
> thanks,
> kathy
This is one of a number of JDBC3 extensions which are just stub methods
ATM. You'll find it will just throw an exception if called.
--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2003-11-10 21:46:11 | Re: SQL-question: returning the id of an insert querry |
Previous Message | Dave Smith | 2003-11-10 21:29:44 | ERROR: out of free buffers: time to abort! |