diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-05-02 09:13:09 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-05-02 09:13:09 +0200 |
commit | 79fc72db28d21def2db78fa113e370b46065f96c (patch) | |
tree | d951947c71c910a91a16bbc9145a88079d3a4891 /sonar-plugin-api/src/main/resources | |
parent | dfb3d2fc8cd965158e4335362adf31fb88d385a7 (diff) | |
download | sonarqube-79fc72db28d21def2db78fa113e370b46065f96c.tar.gz sonarqube-79fc72db28d21def2db78fa113e370b46065f96c.zip |
Revert "SONAR-3437 Enable batch mode when saving measures into DB"
This reverts commit 1b84be0cba036bc7d782f9191874bf144c6fe534.
Diffstat (limited to 'sonar-plugin-api/src/main/resources')
-rw-r--r-- | sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml | 2 |
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 6ac04e44508..6cb43d9509b 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" useGeneratedKeys="false"> + <insert id="insert" parameterType="MeasureModel" keyColumn="id" useGeneratedKeys="true" keyProperty="id"> 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, |