ObjectExtender User's Guide and Reference

Changing the locking type on a table

You can selectively enable the pessimistic locking policy for the classes that are being mapped to the data store. By default the pessimistic locking is not enabled for any of the classes in the model.

To enable pessimistic locking, do the following:

  1. Launch the Map Browser.
  2. Select the desired map from the Datastore Maps view.
  3. Select the desired class from the Persistent Classes view.
  4. Select Enable pessimistic locking from the Persistent_Classes menu.

If there is a class hierarchy, and pessimistic locking is desired, it must be enabled in the subclass as well.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]