returning autogenerated keys

Поиск
Список
Период
Сортировка
От Srinivasa_Tata@hud.gov
Тема returning autogenerated keys
Дата
Msg-id OF3E01A0CD.ACDB08E9-ON85257093.000AF64A-85257093.000B3B26@HUD.GOV
обсуждение исходный текст
Ответы Re: returning autogenerated keys  (Adriaan Joubert <a.joubert@albourne.com>)
Список pgsql-jdbc

 
I am trying to use PostgreSQL and while trying to do a prototype, I am getting an error.  

org.postgresql.util.PSQLException: Returning autogenerated keys is not supported.
at org.postgresql.jdbc3.AbstractJdbc3Statement.executeUpdate(AbstractJdbc3Statement.java:138)

In the TODO list (INSERT section), it is mentioned that  "This is useful for returning the auto-generated key for an INSERT. One complication is how to handle rules that run as part of the insert."

Does it mean PostgreSQL does not support returning autogenerated keys?  I am using 803 version.

Thanks In Advance

Srinivas Tata



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

Предыдущее
От: Srinivas Tata
Дата:
Сообщение: ...
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: