Re: executeUpdate returned value
Posted by: Ledion B
Date: May 13, 2005 05:35PM

A possible workaround would be to include the state in the where part of the query, that is

executeUpdate("UPDATE records set locked=1 where id = 1 && locked != 1" ),

this way we force the number of matched rows = number of affected rows.


Options: ReplyQuote

Written By
May 13, 2005 05:10PM
Re: executeUpdate returned value
May 13, 2005 05:35PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.