pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken Johanson <pg-user@kensystem.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Statement.executeUpdate(String sql, int columnIndexes[]) via RETURNING clause?
Date: Thu, 06 Dec 2007 00:26:53 -0700
Message-ID: <4757A43D.4050705@kensystem.com> (raw)
In-Reply-To: <47579FBE.1070503@kensystem.com>
References: <22a9f7570703301215y44a937d0r5faa706bad7948c@mail.gmail.com>
	<4610AA0C.30608@ejurka.com>
	<47579D44.6060005@kensystem.com>
	<47579FBE.1070503@kensystem.com>

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





Message-ID: <4757A43D.4050705@kensystem.com>
Permalink:  ../4757A43D.4050705@kensystem.com/
Also on:    postgresql.org/message-id/4757A43D.4050705@kensystem.com

 · 

reply

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
  Subject: Re: Statement.executeUpdate(String sql, int columnIndexes[]) via RETURNING clause?
  In-Reply-To: <4757A43D.4050705@kensystem.com>
  References: <22a9f7570703301215y44a937d0r5faa706bad7948c@mail.gmail.com> <4610AA0C.30608@ejurka.com> <47579D44.6060005@kensystem.com> <47579FBE.1070503@kensystem.com> <4757A43D.4050705@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