Retrieve auto-generated key.

Поиск
Список
Период
Сортировка
От Sangeeta
Тема Retrieve auto-generated key.
Дата
Msg-id 004401c93e94$733f9b00$59bed100$@shah@bluenog.com
обсуждение исходный текст
Ответы Re: Retrieve auto-generated key.  ("gcj" <gauss21@comcast.net>)
Re: Retrieve auto-generated key.  (Alexander Panzhin <jalexoids@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alexander Panzhin
Дата:
Сообщение: Re: Passing Array from Java to Postgres
Следующее
От: "gcj"
Дата:
Сообщение: Re: Retrieve auto-generated key.