From 4dea1afed10324c7197c3ce020743cf93f2f779b Mon Sep 17 00:00:00 2001 From: AYoungSn Date: Wed, 24 Jan 2024 16:10:14 +0900 Subject: [PATCH] [FIX] #232 entity manager clear fix --- .../java/com/gg/server/admin/game/service/GameAdminService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gg/server/admin/game/service/GameAdminService.java b/src/main/java/com/gg/server/admin/game/service/GameAdminService.java index 328d1b0c4..b352d38e3 100644 --- a/src/main/java/com/gg/server/admin/game/service/GameAdminService.java +++ b/src/main/java/com/gg/server/admin/game/service/GameAdminService.java @@ -143,8 +143,8 @@ public void rankResultEdit(RankGamePPPModifyReqDto reqDto, Long gameId) { rollbackGameResult(reqDto, season, teamUser, pChanges); pChangeAdminRepository.delete(pChanges.get(0)); entityManager.flush(); - entityManager.clear(); } + entityManager.clear(); for (TeamUser teamUser : teamUsers) { updateScore(reqDto, teamUser);