From: Kris Jurka <books@ejurka.com>
To: Ken Johanson <pg-user@kensystem.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Synthesize support for Statement.getGeneratedKeys()?
Date: Fri, 26 Jan 2007 23:57:59 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0701262352340.20148@leary2.csoft.net> (raw)
In-Reply-To: <45B9A9D6.2080100@kensystem.com>
References: <4580E681.3080106@kensystem.com>
<45B9A9D6.2080100@kensystem.com>
On Fri, 26 Jan 2007, Ken Johanson wrote:
> http://onnet.cc/AbstractJdbc3Statement.patch
> http://onnet.cc/AbstractJdbc2Statement.patch
I can't get the first patch to apply cleanly at all, erroring with
patching file AbstractJdbc3Statement.java
patch: **** Premature `---' at line 33; check line numbers at line 21
And even to get to that point I had to change from windows \ to unix /
directory separators. Could we get a patch that is easy to apply?
> For some reason I'm getting an empty result set with this.. the javadocs are
> a tad sparse so I may not be able to resolve this for a day or two.. anyone
> better at with this api? I'm also not sure if this quick and dirty change
> will correctly handle PreparedStmts.
>
I wouldn't be surprised if the driver is confused by an INSERT command
completion tag also having a result set. If you can produce a working
patch I'll take a closer look.
Kris Jurka
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: books@ejurka.com, pg-user@kensystem.com
Subject: Re: Synthesize support for Statement.getGeneratedKeys()?
In-Reply-To: <Pine.BSO.4.64.0701262352340.20148@leary2.csoft.net>
References: <4580E681.3080106@kensystem.com> <45B9A9D6.2080100@kensystem.com> <Pine.BSO.4.64.0701262352340.20148@leary2.csoft.net>
* 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