From: Ken Johanson <pg-user@kensystem.com>
To: pgsql-jdbc@postgresql.org
Cc: Michael Paesold <mpaesold@gmx.at>
Subject: Re: Synthesize support for Statement.getGeneratedKeys()?
Date: Thu, 14 Dec 2006 08:38:26 -0700
Message-ID: <45816FF2.6050401@kensystem.com> (raw)
In-Reply-To: <45810230.80803@gmx.at>
References: <4580E681.3080106@kensystem.com>
<45810230.80803@gmx.at>
Michael Paesold wrote:
..
> It would be possible to implement that using the RETURNING clause
> supported in recent versions of the server.
>
> See here:
> http://archives.postgresql.org/pgsql-jdbc/2006-10/msg00035.php
> http://archives.postgresql.org/pgsql-jdbc/2006-10/msg00037.php
>
> Unfortunately, all my available spare time went into implementing
> support for standards_conforming_strings in the 8.2 release cycle.
>
And that is a feature which I VERY much appreciate having... thank you, btw!
>
> Could you comment on my mail above (the second one) -- what API-methods
> does your software use, actually?
>
Yes, of the four executeUpdates() that you listed in your email
discussion, it uses executeUpdate(String sql, String[] columnNames)
exclusively (the easy one :-)).
Aside from that, if there were a way to get the backend to support the
others (for example executeUpdate(String sql, int[] columnIdx)), that
would be a best investment of everyone's time. But my vote right now
would be for an implementation of (..,String[] columnNames) so that I
can get bootstrapped with PG :)
Either way, I will be very happy, of course, to do some beta testing.
> Best Regards
> Michael Paesold
>
>
>
>
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: pg-user@kensystem.com, mpaesold@gmx.at
Subject: Re: Synthesize support for Statement.getGeneratedKeys()?
In-Reply-To: <45816FF2.6050401@kensystem.com>
References: <4580E681.3080106@kensystem.com> <45810230.80803@gmx.at> <45816FF2.6050401@kensystem.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