Re: SQL-question: returning the id of an insert querry

Поиск
Список
Период
Сортировка
От Paul Thomas
Тема Re: SQL-question: returning the id of an insert querry
Дата
Msg-id 20031110213452.A22322@bacon
обсуждение исходный текст
Ответ на Re: SQL-question: returning the id of an insert querry  (Kathy Zhu <Kathy.Zhu@Sun.COM>)
Список 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   |
+------------------------------+---------------------------------------------+

В списке pgsql-general по дате отправления:

Предыдущее
От: Dave Smith
Дата:
Сообщение: ERROR: out of free buffers: time to abort!
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: SQL-question: returning the id of an insert querry