]> source.dussan.org Git - sonarqube.git/commitdiff
New try to fix Oracle batch mode
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 2 Feb 2012 11:41:47 +0000 (12:41 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 2 Feb 2012 11:41:47 +0000 (12:41 +0100)
sonar-core/src/main/java/org/sonar/core/persistence/BatchSession.java

index 0e7a28a63c7c65f45f121b67118641f176b83690..4c0d1604d6f9d101407b7dfa4d4a4cd832a7fd27 100644 (file)
@@ -31,7 +31,7 @@ import java.util.Map;
 
 public final class BatchSession implements SqlSession {
 
-  public static final int MAX_BATCH_SIZE = 1000;
+  public static final int MAX_BATCH_SIZE = 250;
 
   private final SqlSession session;
   private final int batchSize;