Author Question: What is the difference between shared locks and exclusive locks? What will be an ideal ... (Read 115 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?

Women are two-thirds more likely than men to develop irritable bowel syndrome. This may be attributable to hormonal changes related to their menstrual cycles.

Did you know?

Medication errors are three times higher among children and infants than with adults.

Did you know?

Human kidneys will clean about 1 million gallons of blood in an average lifetime.

Did you know?

Opium has influenced much of the world's most popular literature. The following authors were all opium users, of varying degrees: Lewis Carroll, Charles, Dickens, Arthur Conan Doyle, and Oscar Wilde.

Did you know?

There are more sensory neurons in the tongue than in any other part of the body.

For a complete list of videos, visit our video library