You need to sign in to do that
Don't have an account?
$Abhi$
User Context for batchable classes
Hi,
I have a APEX class that implements the Database.batchable Interface.As per my knowledge the batch jobs run in system context, and are not limited by the sharing rules.
I wanted to know that, if a class implements the Database.batchable Interface then, is the constructor of this class run in system context or or not.
Any pointers on the same would be of great help.
Thanks
Refer to the Apex Developer's Guide - section entitled "Using the with sharing or without sharing Keywords" for a full discussion of this topic