diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-12-07 11:27:50 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-12-07 11:33:51 +0100 |
commit | e0d98a29f7250f19ebe3b6cf34ef6afd0e38830b (patch) | |
tree | 3fb8b338b4d0b7e937433aa3b44b6c7d57dcf91d /sonar-core | |
parent | aef8d4f343da895d6e2538f28546f502330cf3b4 (diff) | |
download | sonarqube-e0d98a29f7250f19ebe3b6cf34ef6afd0e38830b.tar.gz sonarqube-e0d98a29f7250f19ebe3b6cf34ef6afd0e38830b.zip |
Fix iBatis ReviewMapper.xml for MsSQL
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/persistence/model/ReviewMapper.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/persistence/model/ReviewMapper.xml b/sonar-core/src/main/resources/org/sonar/persistence/model/ReviewMapper.xml index 1a534b57c96..e336df91505 100644 --- a/sonar-core/src/main/resources/org/sonar/persistence/model/ReviewMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/persistence/model/ReviewMapper.xml @@ -23,19 +23,19 @@ <select id="selectById" parameterType="long" resultMap="reviewResultMap"> select <include refid="reviewColumns"/> - from REVIEWS where id=#{id} + from reviews where id=#{id} </select> <select id="selectByResource" parameterType="int" resultMap="reviewResultMap"> select <include refid="reviewColumns"/> - from REVIEWS where resource_id=#{id} + from reviews where resource_id=#{id} </select> <select id="selectByQuery" parameterType="org.sonar.persistence.model.ReviewQuery" resultMap="reviewResultMap"> select <include refid="reviewColumns"/> - from REVIEWS + from reviews <where> <if test="userId != null">user_id = #{userId}</if> <if test="violationPermanentId != null">AND rule_failure_permanent_id = #{violationPermanentId}</if> |