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

Patients who cannot swallow may receive nutrition via a parenteral route—usually, a catheter is inserted through the chest into a large vein going into the heart.

Did you know?

Medications that are definitely not safe to take when breastfeeding include radioactive drugs, antimetabolites, some cancer (chemotherapy) agents, bromocriptine, ergotamine, methotrexate, and cyclosporine.

Did you know?

People who have myopia, or nearsightedness, are not able to see objects at a distance but only up close. It occurs when the cornea is either curved too steeply, the eye is too long, or both. This condition is progressive and worsens with time. More than 100 million people in the United States are nearsighted, but only 20% of those are born with the condition. Diet, eye exercise, drug therapy, and corrective lenses can all help manage nearsightedness.

Did you know?

If you could remove all of your skin, it would weigh up to 5 pounds.

Did you know?

Lower drug doses for elderly patients should be used first, with titrations of the dose as tolerated to prevent unwanted drug-related pharmacodynamic effects.

For a complete list of videos, visit our video library