MB6-704 · Question #82
You are developing a solution by using X**. The solution updates multiple records. You need to ensure that if the solution attempts to modify records that currently are being edited by a user, the…
The correct answer is C. Update Conflict. Update Conflicts OCC makes it possible for other processes to update a record even after it has been fetched. You can catch update conflicts by catching the UpdateConflict and UpdateConflictNotRecovered ex- Exception: UpdateConflict Indicates that an error has occurred in a…
Question
You are developing a solution by using X**. The solution updates multiple records. You need to ensure that if the solution attempts to modify records that currently are being edited by a user, the operation will be retried. Which type of exception should you handle?
Options
- ACode Access Security
- BSequence
- CUpdate Conflict
- DDeadlock
How the community answered
(44 responses)- A14% (6)
- B5% (2)
- C77% (34)
- D5% (2)
Explanation
Update Conflicts OCC makes it possible for other processes to update a record even after it has been fetched. You can catch update conflicts by catching the UpdateConflict and UpdateConflictNotRecovered ex- Exception: UpdateConflict Indicates that an error has occurred in a transaction that is using Optimistic Concurrency Control. The transaction can be retried (use a retry statement in the catch block). Exception Deadlock: Indicates that there is a database deadlock because several transactions are waiting for each
Topics
Community Discussion
No community discussion yet for this question.