BEGIN/COMMIT TRANSACTION for whitelist generation.