aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-11-20 15:08:32 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-11-20 15:08:32 +0100
commit143c7d859c22f40ad41934d313ecd262580d5b5b (patch)
tree13224c669b934599a8a9ecda7fe3745a3c8d0730 /sonar-core
parent5a0f267f1b66baeb5333163afb4f9dd6225896c5 (diff)
downloadsonarqube-143c7d859c22f40ad41934d313ecd262580d5b5b.tar.gz
sonarqube-143c7d859c22f40ad41934d313ecd262580d5b5b.zip
SONAR-3887 fix compatibility with Oracle and Postgres
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/SemaphoreDao.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/SemaphoreDao.java b/sonar-core/src/main/java/org/sonar/core/persistence/SemaphoreDao.java
index 4176925f504..3db88347dd9 100644
--- a/sonar-core/src/main/java/org/sonar/core/persistence/SemaphoreDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/persistence/SemaphoreDao.java
@@ -79,6 +79,7 @@ public class SemaphoreDao {
} catch (Exception e) {
// probably because of the semaphore already exists
+ session.rollback();
}
}
}