You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Tarlika Elisabeth Schmitz <ma...@numerixtechnology.de> on 2004/04/27 11:40:18 UTC

doUpdate - how to know whether record was updated

Hello,
I have searched through the lailing list archive and seen other people
asking the same question but there seemed to be no answer.

When executing a doUpdate there is no feedback as to how many rows were
effected. In fact, if you carry out doUpdate on an object that has been
deleted in a concurrent session, doUpdate will return successful and even
mark the object as modified=false.

1) Has anybody figured out how you can determine in a transaction whether
a doUpdate or doDelete had an effect?

2) Do doUpdate / doDelete throw an exception if the record is locked in a
concurrent transaction?

Best Regards,
Tarlika Elisabeth Schmitz



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org