Statement.executeUpdate(String sql, int columnIndexes[]) via RETURNING clause?

From: Ken Johanson <pg-user(at)kensystem(dot)com>
To:
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Statement.executeUpdate(String sql, int columnIndexes[]) via RETURNING clause?
Date: 2007-12-06 07:26:53
Message-ID: 4757A43D.4050705@kensystem.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Velevitch 2007-12-06 07:44:36 Understanding how partial indexes work?
Previous Message Ken Johanson 2007-12-06 07:07:42 Re: Synthesize support for Statement.getGeneratedKeys()?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Henry B. Hotz 2007-12-06 07:45:38 Re: JDBC and GSSAPI/Krb5
Previous Message Kranti K K Parisa [GetSet-India] 2007-12-06 07:14:08 Re: BatchUpdate exception