Re: Synthesize support for Statement.getGeneratedKeys()?

From: Kris Jurka <books(at)ejurka(dot)com>
To: Ken Johanson <pg-user(at)kensystem(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Synthesize support for Statement.getGeneratedKeys()?
Date: 2007-02-14 17:57:17
Message-ID: Pine.BSO.4.64.0702141250550.3571@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 13 Feb 2007, Ken Johanson wrote:

> I have not tested this exhaustively, nor given though about the correctness
> of the null-normalization below; is this enough for you or someone to commit
> the changes?
>

No, you've provided the sketch of a solution, but it's not appropriate for
the driver until you've resolved things like quoting column names, putting
in a version check for a server that supports RETURNING, and added some
test cases. Some or all of this can be done by the committer, but the
more work the committer must do the less likely it's going to happen.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Floyd Shackelford 2007-02-14 19:03:28 bug report: preparedStatement.setObject(indx, "2004-August-15", java.sql.Types.DATE) generates number format exception
Previous Message Kris Jurka 2007-02-14 17:47:52 Re: getProcedureColumns