db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: behavior of Statement.getGeneratedKeys()
Date Fri, 14 Jul 2006 03:12:03 GMT
Lance J. Andersen wrote:
> I think it can be improved but the javadocs indicates (executeUpdate)
> that the array is  ignored if the statement is not able to return an
> autogenerated key and the getGeneratedKeys says it will return an empty
> ResultSet if it cannot return generated keys.

Do the defintions of the columns in the empty ResultSet have to match
the defintions of the columns it can't return because they are not


Just kidding, though "does empty mean no *columns* and no rows" might a
 discussion for some future derby/apache event that involves beer. :-)


View raw message