]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2579 Creating an event through the web service API leads to a org.sonar.api...
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 8 Sep 2011 14:40:43 +0000 (16:40 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 8 Sep 2011 14:40:43 +0000 (16:40 +0200)
sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java

index 74835f2ffabd1dc8c230ff9f80777b38068e718f..a36255b606559f5db1c03d38ace28f721643f2a4 100644 (file)
@@ -46,7 +46,7 @@ public final class EventPersister {
   }
 
   public void deleteEvent(Event event) {
-    session.remove(event);
+    session.removeWithoutFlush(event);
     session.commit();
   }