function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kevin hekevin he 

Are batch apex prone to deadlock?

Deadlocks involve at least two transactions that are attempting to update overlapping sets of objects. Note that if the
transaction involves a summary field, the parent objects are locked, making these transactions especially prone to
deadlocks. And I kown that the batch apex are process in parallel, does that mean each batch are processed in different transaction? If so, is it possible to cause deadlock??
 
 
Thanks.