Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 714A52E0088 for ; Thu, 6 Dec 2007 03:27:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 33732-01 for ; Thu, 6 Dec 2007 03:26:54 -0400 (AST) Received: from www01.kensystem.com (www01.kensystem.com [72.19.170.120]) by postgresql.org (Postfix) with ESMTP id 115FD2E3633 for ; Thu, 6 Dec 2007 03:26:55 -0400 (AST) Received: from 192.168.0.6 by www01.kensystem.com (SMTPD); id s20071206002653.7294; Thu, 06 Dec 2007 00:26:53 Message-ID: <4757A43D.4050705@kensystem.com> Date: Thu, 06 Dec 2007 00:26:53 -0700 From: Ken Johanson User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 CC: pgsql-jdbc@postgresql.org Subject: Statement.executeUpdate(String sql, int columnIndexes[]) via RETURNING clause? References: <22a9f7570703301215y44a937d0r5faa706bad7948c@mail.gmail.com> <4610AA0C.30608@ejurka.com> <47579D44.6060005@kensystem.com> <47579FBE.1070503@kensystem.com> In-Reply-To: <47579FBE.1070503@kensystem.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/40 X-Sequence-Number: 17895 Does anyone have knowledge of how to implement: Statement.executeUpdate(String sql, int columnIndexes[]) This would be in the context of using the server's RETURNING clause. For named-identifiers this is straightforward but I do not know how the 'returning' clause could support numbers... hopefully it can. Something like?: ... RETURNING [1],[2] Ken