... - Mailing list pgsql-jdbc

From Srinivas Tata
Subject ...
Date
Msg-id 20051007015540.1218.qmail@web52413.mail.yahoo.com
Whole thread Raw
Responses Re:
List pgsql-jdbc
I am trying to use PostgreSQL and while trying to do a
prototype, I am getting an error.
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.

I am getting the following error:

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

Thanks In Advance

Srinivas Tata




______________________________________________________
Yahoo! for Good
Donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


pgsql-jdbc by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: I have a problem of abstraction...
Next
From: Srinivasa_Tata@hud.gov
Date:
Subject: returning autogenerated keys