]> source.dussan.org Git - sonarqube.git/commitdiff
Fix SQL query on MySQL and MsSQL
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 20 Dec 2013 14:02:12 +0000 (15:02 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 20 Dec 2013 14:02:12 +0000 (15:02 +0100)
sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleParamDto.java
sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml

index babadef3556888f83993732f78e971874104b5cd..bf9df1f1bbbb96087ce23c20c0e747aac2c3f5f5 100644 (file)
@@ -25,7 +25,7 @@ public class ActiveRuleParamDto {
   private Integer id;
   private Integer activeRuleId;
   private Integer rulesParameterId;
-  private String key;
+  private String kee;
   private String value;
 
   public Integer getId() {
@@ -56,11 +56,11 @@ public class ActiveRuleParamDto {
   }
 
   public String getKey() {
-    return key;
+    return kee;
   }
 
   public ActiveRuleParamDto setKey(String key) {
-    this.key = key;
+    this.kee = key;
     return this;
   }
 
index e0eeee707ac963d7e4beb58336683f93f285c11d..bf24c81b33637b1da62917eb891acaadf69e7d32 100644 (file)
@@ -19,7 +19,7 @@
     p.id,
     p.active_rule_id as activeRuleId,
     p.rules_parameter_id as rulesParameterId,
-    p.rules_parameter_key as key,
+    p.rules_parameter_key as kee,
     p.value as value
   </sql>