Author Question: What is the difference between shared locks and exclusive locks? What will be an ideal ... (Read 49 times)

jazziefee

  • Hero Member
  • *****
  • Posts: 505
What is the difference between shared locks and exclusive locks?
 
  What will be an ideal response?

Question 2

Polymorphism occurs when the same operation may apply to two or more classes in different ways.
 
  Indicate whether the statement is true or false


rekilledagain

  • Sr. Member
  • ****
  • Posts: 337
Answer to Question 1

Shared locks allow other transactions to read but not update a record or other resource. This is most useful when preventing another user from placing a lock on a record. An exclusive lock prevents another transaction from reading and writing a record until an update is done by the transaction that locked the record.

Answer to Question 2

TRUE



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question


 

Did you know?

Illicit drug use costs the United States approximately $181 billion every year.

Did you know?

Aspirin is the most widely used drug in the world. It has even been recognized as such by the Guinness Book of World Records.

Did you know?

Addicts to opiates often avoid treatment because they are afraid of withdrawal. Though unpleasant, with proper management, withdrawal is rarely fatal and passes relatively quickly.

Did you know?

Blood is approximately twice as thick as water because of the cells and other components found in it.

Did you know?

Aspirin may benefit 11 different cancers, including those of the colon, pancreas, lungs, prostate, breasts, and leukemia.

For a complete list of videos, visit our video library