From 3daeaca0d0daee0e90deb38f4c96193de072e9c9 Mon Sep 17 00:00:00 2001 From: Olin Blodgett Date: Thu, 5 Sep 2024 18:32:54 -0600 Subject: [PATCH] persist vs merge --- .../curation_api/jobs/executors/LoadFileExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/alliancegenome/curation_api/jobs/executors/LoadFileExecutor.java b/src/main/java/org/alliancegenome/curation_api/jobs/executors/LoadFileExecutor.java index ea40dbf8d..57e441588 100644 --- a/src/main/java/org/alliancegenome/curation_api/jobs/executors/LoadFileExecutor.java +++ b/src/main/java/org/alliancegenome/curation_api/jobs/executors/LoadFileExecutor.java @@ -50,7 +50,7 @@ public class LoadFileExecutor { @Inject SlackNotifier slackNotifier; protected void updateHistory(BulkLoadFileHistory history) { - bulkLoadFileHistoryDAO.merge(history); + bulkLoadFileHistoryDAO.persist(history); } protected void updateExceptions(BulkLoadFileHistory history) {