diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-03-20 16:12:20 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-03-23 10:55:44 +0100 |
commit | 7b2066e95e177700b41f86b30468cbca12cb5f5a (patch) | |
tree | 0bd38a280402b9483b5e5d552fbe6f8d2e870f37 /sonar-core | |
parent | 99c983079b5cd16c34f6407fcfac9cb5b7e821d9 (diff) | |
download | sonarqube-7b2066e95e177700b41f86b30468cbca12cb5f5a.tar.gz sonarqube-7b2066e95e177700b41f86b30468cbca12cb5f5a.zip |
SONAR-6275 Feed measures in compute report
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java | 2 | ||||
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java b/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java index 85873f4fc45..764b81c800d 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java @@ -200,7 +200,7 @@ public class MyBatis implements BatchComponent, ServerComponent { LoadedTemplateMapper.class, MeasureFilterMapper.class, Migration44Mapper.class, PermissionTemplateMapper.class, PropertiesMapper.class, PurgeMapper.class, ResourceKeyUpdaterMapper.class, ResourceIndexerMapper.class, ResourceSnapshotMapper.class, RoleMapper.class, RuleMapper.class, SchemaMigrationMapper.class, SemaphoreMapper.class, UserMapper.class, GroupMapper.class, UserGroupMapper.class, WidgetMapper.class, WidgetPropertyMapper.class, - org.sonar.api.database.model.MeasureMapper.class, FileSourceMapper.class, ActionPlanMapper.class, + FileSourceMapper.class, ActionPlanMapper.class, ActionPlanStatsMapper.class, NotificationQueueMapper.class, CharacteristicMapper.class, GroupMembershipMapper.class, QualityProfileMapper.class, ActiveRuleMapper.class, diff --git a/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml b/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml index 288eccb685d..57c42516632 100644 --- a/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/measure/db/MeasureMapper.xml @@ -68,7 +68,7 @@ </where> </select> - <insert id="insert" parameterType="Measure" useGeneratedKeys="true" keyColumn="id" keyProperty="id"> + <insert id="insert" parameterType="Measure" useGeneratedKeys="false" keyColumn="id" keyProperty="id"> INSERT INTO project_measures ( value, metric_id, snapshot_id, rule_id, text_value, tendency, project_id, alert_status, alert_text, description, rule_priority, characteristic_id, variation_value_1, variation_value_2, variation_value_3, variation_value_4, |