May 2002
Beginner
408 pages
9h 10m
English
| 1: | What must be maintained when using the pessimistic concurrency approach?
|
| A1: | a and b. Both locks on data resources and database connections must be maintained in pessimistic concurrency. |
| 2: | In general, how is optimistic concurrency implemented?
|
| A2: | a. In general, you will need to compare original values (that you read from the data source) to current values in the data source before the data can be updated. If any of the comparison fails (indicating that the row was updated by someone else), you have encountered an optimistic concurrency ... |
Read now
Unlock full access