From dd04e9f9518e0b84009d21ec5a99bd1f00d796f7 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Fri, 21 Nov 2014 09:18:19 +0100 Subject: [PATCH] SONAR-5827 Enable bulk insert --- .../src/main/java/org/sonar/batch/index/SourcePersister.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java b/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java index 51785d0474b..c3916e739eb 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java +++ b/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java @@ -110,7 +110,7 @@ public class SourcePersister implements ScanPersister { @Override public void persist() { - DbSession session = mybatis.openSession(false); + DbSession session = mybatis.openSession(true); try { final Map fileSourceDtoByFileUuid = new HashMap(); -- 2.39.5