| От | Sangeeta |
|---|---|
| Тема | Retrieve auto-generated key. |
| Дата | |
| Msg-id | 004401c93e94$733f9b00$59bed100$@shah@bluenog.com обсуждение |
| Ответы |
Re: Retrieve auto-generated key.
Re: Retrieve auto-generated key. |
| Список | pgsql-jdbc |
Hi
Ability to retrieve auto-generated key is one of the key features of JDBC3.
I tried using prepareStatement(String sql, int autoGeneratedKeys) , prepareStatement(String sql, int[] columnIndexes) and prepareStatement(String sql, String[] columnNames) but with no success . It returned with exception message as "Returning autogenerated keys is not supported."
I know there is already one thread for retrieve auto-generated key but look like that thread does not have one distinct solution.
Is there any patch or workaround to retrieve auto-generated key ?
Thanks
Sangeeta
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера