diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-10-18 18:15:39 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-10-20 17:17:54 +0200 |
commit | 5d21ae8d7ff15fe76833159f880bd134710434b9 (patch) | |
tree | ba0fb2086826e1b88cc69c884d8ad54e7f1aaecd /sonar-db/src/main/resources/org/sonar | |
parent | c51c4e9b3ebfbfd6a526c58291bd50ef95faa914 (diff) | |
download | sonarqube-5d21ae8d7ff15fe76833159f880bd134710434b9.tar.gz sonarqube-5d21ae8d7ff15fe76833159f880bd134710434b9.zip |
SONAR-8100 add GroupDao#deleteByOrganization
Diffstat (limited to 'sonar-db/src/main/resources/org/sonar')
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/user/GroupMapper.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-db/src/main/resources/org/sonar/db/user/GroupMapper.xml b/sonar-db/src/main/resources/org/sonar/db/user/GroupMapper.xml index 45d71a4d7b6..bc74e334d7e 100644 --- a/sonar-db/src/main/resources/org/sonar/db/user/GroupMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/user/GroupMapper.xml @@ -46,6 +46,13 @@ </where> </delete> + <delete id="deleteByOrganization" parameterType="String"> + delete from + groups + where + organization_uuid=#{organizationUuid,jdbcType=VARCHAR} + </delete> + <select id="selectByUserLogin" parameterType="string" resultType="Group"> select <include refid="groupColumns"/> |