Re: Synthesize support for Statement.getGeneratedKeys()? - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Synthesize support for Statement.getGeneratedKeys()?
Date
Msg-id Pine.BSO.4.64.0702011325410.23261@leary2.csoft.net
Whole thread Raw
In response to Re: Synthesize support for Statement.getGeneratedKeys()?  (Ken Johanson <pg-user@kensystem.com>)
Responses Re: Synthesize support for Statement.getGeneratedKeys()?
List pgsql-jdbc

On Mon, 29 Jan 2007, Ken Johanson wrote:

> Hi Kris, were you able to look at this? If time wont permit that I'll dig
> back in; though I'd prefer not to duplicate any work your're doing, of
> course.

Taking another look the obvious problem is that you haven't touched
AbstractJdbc3Statement.getGeneratedKeys.  It still reads:

     public ResultSet getGeneratedKeys() throws SQLException
     {
         return createDriverResultSet(new Field[0], new Vector());
     }

So an empty ResultSet is not surprising.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: getArray() and char[]
Next
From: Kris Jurka
Date:
Subject: Re: Max size for bytea type