Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id CD0259FB2AC for ; Sat, 27 Jan 2007 00:58:02 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 36336-10 for ; Sat, 27 Jan 2007 00:57:59 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with ESMTP id 223189FB214 for ; Sat, 27 Jan 2007 00:58:00 -0400 (AST) Received: by mail63.csoft.net (Postfix, from userid 1112) id D29BFF416; Fri, 26 Jan 2007 23:57:59 -0500 (EST) Date: Fri, 26 Jan 2007 23:57:59 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Ken Johanson cc: pgsql-jdbc@postgresql.org Subject: Re: Synthesize support for Statement.getGeneratedKeys()? In-Reply-To: <45B9A9D6.2080100@kensystem.com> Message-ID: References: <4580E681.3080106@kensystem.com> <45B9A9D6.2080100@kensystem.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/173 X-Sequence-Number: 16538 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