Pessimistic concurrency locks data ___________.
- Concurrently
- Proactively
- Reactively
- Temporarily
Pessimistic concurrency locks data proactively, meaning it locks the data before any modification attempt is made. This approach ensures that only one transaction can access and modify the data at a time, thus preventing concurrency conflicts by holding exclusive locks on the data for the duration of the transaction.
Loading...
Related Quiz
- What is the primary purpose of non-query commands (INSERT, UPDATE, DELETE) in ADO.NET?
- What is the difference between a DataRow and a DataTable in ADO.NET?
- How does a DataAdapter facilitate interaction between a database and a DataSet?
- When working with multiple tables in a SELECT statement, what SQL clause is used to specify how the tables are related?
- The ___________ method in Entity Framework allows you to specify custom logic to resolve concurrency conflicts.