aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-05-01 00:15:44 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-05-05 09:07:55 +0200
commit91100b1cd572493142e2f3bd27ac4776fd8313e7 (patch)
treee7677f6d114a6253c19796564fdd537ac5972c17 /sonar-plugin-api
parentdc35542f2609c0377dc2a634df1dbd9684427561 (diff)
downloadsonarqube-91100b1cd572493142e2f3bd27ac4776fd8313e7.tar.gz
sonarqube-91100b1cd572493142e2f3bd27ac4776fd8313e7.zip
SONAR-3437 Enable batch mode when saving measures into DB
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml b/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml
index 6cb43d9509b..6ac04e44508 100644
--- a/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml
+++ b/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml
@@ -3,7 +3,7 @@
<mapper namespace="org.sonar.api.database.model.MeasureMapper">
- <insert id="insert" parameterType="MeasureModel" keyColumn="id" useGeneratedKeys="true" keyProperty="id">
+ <insert id="insert" parameterType="MeasureModel" useGeneratedKeys="false">
INSERT INTO project_measures (
value, metric_id, snapshot_id, rule_id, text_value, tendency, measure_date,
project_id, alert_status, alert_text, url, description, rule_priority, characteristic_id, variation_value_1,