aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src
diff options
context:
space:
mode:
authorPeter Horvath <peter.horvath@sonarsource.com>2024-06-05 09:49:52 +0200
committersonartech <sonartech@sonarsource.com>2024-06-05 20:02:46 +0000
commite4c7354ca17f167c71bde3c72451162acc732940 (patch)
tree2a4f63ea73b360a7c0dcd40b44d6201e7d1ea24b /server/sonar-db-dao/src
parent3feb5cfbfcfb1ad2729b3f6bf75827e9489a6b35 (diff)
downloadsonarqube-e4c7354ca17f167c71bde3c72451162acc732940.tar.gz
sonarqube-e4c7354ca17f167c71bde3c72451162acc732940.zip
SONAR-22340 Fix SSF-584
Diffstat (limited to 'server/sonar-db-dao/src')
-rw-r--r--server/sonar-db-dao/src/main/resources/org/sonar/db/user/UserGroupMapper.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-db-dao/src/main/resources/org/sonar/db/user/UserGroupMapper.xml b/server/sonar-db-dao/src/main/resources/org/sonar/db/user/UserGroupMapper.xml
index 85961adcd0d..bf0e0ff5f4e 100644
--- a/server/sonar-db-dao/src/main/resources/org/sonar/db/user/UserGroupMapper.xml
+++ b/server/sonar-db-dao/src/main/resources/org/sonar/db/user/UserGroupMapper.xml
@@ -42,13 +42,13 @@
<where>
1=1
<if test="query.uuid != null">
- AND gu.uuid='${query.uuid}'
+ AND gu.uuid=#{query.uuid, jdbcType=VARCHAR}
</if>
<if test="query.userUuid != null">
- AND gu.user_uuid='${query.userUuid}'
+ AND gu.user_uuid=#{query.userUuid, jdbcType=VARCHAR}
</if>
<if test="query.groupUuid != null">
- AND gu.group_uuid='${query.groupUuid}'
+ AND gu.group_uuid=#{query.groupUuid, jdbcType=VARCHAR}
</if>
</where>
</sql>