Multiple choice technology packaged enterprise solutions

What is the difference between a database lock and an object lock?

  1. Object level locks persist for longer than database level lock and prevent two users from making changes to the record simultaneously

  2. Database locks are held for a longer duration than object locks

  3. Both

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Object-level locks are higher-level constructs that persist longer than database locks, specifically designed to prevent concurrent modifications by multiple users. Database locks are lower-level, shorter-duration mechanisms for maintaining data integrity at the storage level.