aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-12-09 10:03:58 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2011-12-09 10:06:33 +0100
commit926a2012da92c2cde3f58e205d6ce2452d113848 (patch)
tree6787eb78e368e062c3ff6a3fb98f79d886d65dd1 /sonar-core
parent62fe91e16c3b286bbdcadd8dfa97ad6b4e3fd146 (diff)
downloadsonarqube-926a2012da92c2cde3f58e205d6ce2452d113848.tar.gz
sonarqube-926a2012da92c2cde3f58e205d6ce2452d113848.zip
Fix integration tests of MyBatis on MsSQL. Table names must be lower-case.
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/persistence/model/RuleMapper.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/persistence/model/RuleMapper.xml b/sonar-core/src/main/resources/org/sonar/persistence/model/RuleMapper.xml
index 6e25a64cd42..ceedad76611 100644
--- a/sonar-core/src/main/resources/org/sonar/persistence/model/RuleMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/persistence/model/RuleMapper.xml
@@ -3,11 +3,11 @@
<mapper namespace="org.sonar.persistence.model.RuleMapper">
<select id="selectAll" resultType="Rule">
- select id, plugin_rule_key as "ruleKey", plugin_name as "repositoryKey", description, enabled, name from RULES
+ select id, plugin_rule_key as "ruleKey", plugin_name as "repositoryKey", description, enabled, name from rules
</select>
<select id="selectById" parameterType="long" resultType="Rule">
- select id, plugin_rule_key as "ruleKey", plugin_name as "repositoryKey", description, enabled, name from RULES WHERE id=#{id}
+ select id, plugin_rule_key as "ruleKey", plugin_name as "repositoryKey", description, enabled, name from rules WHERE id=#{id}
</select>
</mapper>