What are a couple of limitations (points to recall) of Savepoint or Transaction Control in Apex?
Below are a couple of limitations (points to recall) of Savepoint or Transaction Control in Apex
● The limitation is each savepoint that we set against governor limit for DML proclamations.
● Static variables are not returned amid a rollback. If we attempt to run the trigger once more, the static variables hold the qualities from the main run.
● Each rollback helps in the representation of a mark against governor limit for DML articulations. We will get a Runtime mistake if we are attempting to rollback the extraordinary database circumstances.
● The ID on a sObject embedded subsequent for setting a savepoint isn’t getting cleared after a rollback.