What are a couple of limitations (points to recall) of Savepoint or Transaction Control in Apex?

devquora
devquora

Posted On: Feb 22, 2018

 

  •   Each savepoint you set against governor limit for DML proclamations.
  •   Static variables are not returned amid a rollback. If you attempt to run the trigger once more, the static variables hold the qualities from the main run.
  •   Each rollback represents a mark against governor limit for DML articulations. You will get a Runtime mistake if you attempt to rollback the extraordinary database circumstances.
  •   The ID on a sObject embedded subsequent to setting a savepoint isn’t cleared after a rollback.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Apex Interview Questions

    Tell me something about Abstract Class?

     The abstract classes in Salesforce Apex are the classes that involve at least one dynamic strategy. A conjectural meth..

    Apex Interview Questions

    Clarify a couple of considerations required for the Static Keyword in Apex.

     Here are a couple of considerations required for the Static keyword in Apex.  You cannot make an Apex class static..

    Apex Interview Questions

    Can you state some o the uses of APEX?

    fabricates proficient looking web applications that are both quick and secure. Keeps running on and lives in the Oracle..