From: Srinivas Tata <srtata(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject:
Date: 2005-10-07 01:55:40
Message-ID: 20051007015540.1218.qmail@web52413.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

Responses

  • Re: at 2005-10-07 02:20:45 from Kris Jurka

Browse pgsql-jdbc by date

  From Date Subject
Next Message Srinivasa_Tata 2005-10-07 02:02:39 returning autogenerated keys
Previous Message Kevin Grittner 2005-10-07 00:38:07 Re: I have a problem of abstraction...