Transaction Processing

This section covers three features of Apex that control how transactions are processed by the database:

Image Data Manipulation Language (DML) database methods—DML database methods are much like DML statements from Chapter 4, but add support for partial success. This allows some records from a batch to succeed while others fail.

Image Savepoints—Savepoints designate a point in time that your code can return to. Returning to a savepoint rolls back all DML statements executed since the establishment of the savepoint.

Image Record locking—Apex provides a SOQL keyword to protect records from interference by other users or programs for the duration of a transaction.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.106.237