From f0f604b9c4358fb943917cd3c76c12092259d2d6 Mon Sep 17 00:00:00 2001 From: ashitsalesforce Date: Fri, 9 Feb 2024 21:24:15 -0800 Subject: [PATCH] Cache DAO entries for bulk upload by default Data Loader rereads DAO entries for bulk upload when processing results. Switch to caching them by default to avoid issues similar to the one reported at https://github.com/forcedotcom/dataloader/issues/506 --- src/main/java/com/salesforce/dataloader/config/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/salesforce/dataloader/config/Config.java b/src/main/java/com/salesforce/dataloader/config/Config.java index c114be82..371efd26 100644 --- a/src/main/java/com/salesforce/dataloader/config/Config.java +++ b/src/main/java/com/salesforce/dataloader/config/Config.java @@ -601,7 +601,7 @@ private void setDefaults() { setDefaultValue(LOAD_PRESERVE_WHITESPACE_IN_RICH_TEXT, true); setDefaultValue(Config.CLI_OPTION_RUN_MODE, Config.RUN_MODE_UI_VAL); setDefaultValue(SAVE_BULK_SERVER_LOAD_AND_RAW_RESULTS_IN_CSV, false); - setDefaultValue(PROCESS_BULK_CACHE_DATA_FROM_DAO, false); + setDefaultValue(PROCESS_BULK_CACHE_DATA_FROM_DAO, true); setDefaultValue(PROCESS_KEEP_ACCOUNT_TEAM, false); setDefaultValue(WIZARD_WIDTH, DEFAULT_WIZARD_WIDTH); setDefaultValue(WIZARD_HEIGHT, DEFAULT_WIZARD_HEIGHT);