returning autogenerated keys - Mailing list pgsql-jdbc

From Srinivasa_Tata@hud.gov
Subject returning autogenerated keys
Date
Msg-id OF3E01A0CD.ACDB08E9-ON85257093.000AF64A-85257093.000B3B26@HUD.GOV
Whole thread Raw
Responses Re: returning autogenerated keys
List 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 by date:

Previous
From: Srinivas Tata
Date:
Subject: ...
Next
From: Kris Jurka
Date:
Subject: Re: