| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера