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-01 00:16:30 +0200
commit1b84be0cba036bc7d782f9191874bf144c6fe534 (patch)
tree41bca54ddb25b567ca7a568540933e8e6b7e1203 /sonar-plugin-api
parentcc071cc29e8c4d4592282313a3ca2ec376fd7f71 (diff)
downloadsonarqube-1b84be0cba036bc7d782f9191874bf144c6fe534.tar.gz
sonarqube-1b84be0cba036bc7d782f9191874bf144c6fe534.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,