diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-08 16:40:43 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-08 16:40:43 +0200 |
commit | 4d72a556429e94837eca3159b471518ae9221626 (patch) | |
tree | 48a5848eb2cd3c9a98c127155dffbd4c6b3df8e6 /sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java | |
parent | 4b65687f7bc58677f6b3845312c3845e0c938600 (diff) | |
download | sonarqube-4d72a556429e94837eca3159b471518ae9221626.tar.gz sonarqube-4d72a556429e94837eca3159b471518ae9221626.zip |
SONAR-2579 Creating an event through the web service API leads to a org.sonar.api.Batch.Event exception
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java b/sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java index 74835f2ffab..a36255b6065 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java +++ b/sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java @@ -46,7 +46,7 @@ public final class EventPersister { } public void deleteEvent(Event event) { - session.remove(event); + session.removeWithoutFlush(event); session.commit(); } |