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: [jira] Commented: (DERBY-690) Add scrollable, updatable, insensitive result sets
Date Wed, 01 Mar 2006 23:41:24 GMT
Fernanda Pizzorno (JIRA) wrote:

> Dan wrote:
> 
>>[...] Hence, like Oracle, Derby should perform the equivalent of a 
>>refreshRow. 
> 
> 
> Do you mean that we should also, like Oracle, allow users to use the 
> refreshRow() method to get an updated row, or should it still be a 
> no-op when it is not being called from within the updateRow() method?

No, I didn't mean to imply that refreshRow() can be used on an
insensitive ResultSet.

Though maybe I would suggest leaving it as a not implemented method
instead of changing it to be a no-op. It did seem not clear to me from
the discussion that no-op was the correct solution for insensitive
result sets, Lance's comment that the tutorial was not part of the spec
seemed to imply to me that JDBC did not mandate that refeshRow was not
allowed/a no-op on an insensitive ResultSet.

Changing the current not-implemented behaviour to a method that does
nothing does not seem to be much value add for Derby, especially if
there's some chance we would change the behaviour in the future.

Dan.





Mime
View raw message