DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10274>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10274

esql hangs on update statements





------- Additional Comments From [EMAIL PROTECTED]  2002-06-27 12:08 
-------
<esql:connection>
  <esql:pool>ifbintern_neu</esql:pool>
    <esql:execute-query>
      <esql:query><xsp:expr>sql</xsp:expr></esql:query>
      <esql:error-results>An error occurred</esql:error-results>
      <esql:update-results>
        <esql:get-update-count/>
      </esql:update-results>
      <esql:no-results>
        <p>Sorry, no results</p>
      </esql:no-results>
  </esql:execute-query>
</esql:connection>

where the string sql is something like:
update wartungsvertraege set deleted = 'frank (26.02.02)' where id = 271

why should'nt updatecount=1 when there is exactly one row which is affected by 
this update?

// snippet from method adjustCounts()
this.updateCount=this.statement.getUpdateCount(); /* updateCount becomes 1 in 
my case */
...
//

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to