From: Srinivas Tata <srtata@yahoo.com>
To: pgsql-jdbc@postgresql.org
Date: Thu, 6 Oct 2005 18:55:40 -0700 (PDT)
Message-ID: <20051007015540.1218.qmail@web52413.mail.yahoo.com> (raw)
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: srtata@yahoo.com
Subject: Re:
In-Reply-To: <20051007015540.1218.qmail@web52413.mail.yahoo.com>
References: <20051007015540.1218.qmail@web52413.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox