db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarlika Elisabeth Schmitz" <mail...@numerixtechnology.de>
Subject doUpdate - how to know whether record was updated
Date Tue, 27 Apr 2004 09:40:18 GMT

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


Mime
View raw message