aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-10-24 09:38:32 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-10-24 09:44:39 +0200
commit8dff1cb96de47823bfe3f587591fc16a9194e380 (patch)
tree1f8bec2459d74357190a854ec6bbf35cc2bc7ec4 /sonar-core
parentf1116836ac39591903f219d1d708cc584ef6f071 (diff)
downloadsonarqube-8dff1cb96de47823bfe3f587591fc16a9194e380.tar.gz
sonarqube-8dff1cb96de47823bfe3f587591fc16a9194e380.zip
SONAR-5753 Fix migration on mssql
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/migration/v50/Migration50Mapper.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/migration/v50/Migration50Mapper.java b/sonar-core/src/main/java/org/sonar/core/persistence/migration/v50/Migration50Mapper.java
index ac818ec1150..a00232e92ce 100644
--- a/sonar-core/src/main/java/org/sonar/core/persistence/migration/v50/Migration50Mapper.java
+++ b/sonar-core/src/main/java/org/sonar/core/persistence/migration/v50/Migration50Mapper.java
@@ -93,6 +93,7 @@ public interface Migration50Mapper {
@Update("UPDATE projects " +
" SET uuid=#{uuid}, project_uuid=#{projectUuid}, module_uuid=#{moduleUuid}, module_uuid_path=#{moduleUuidPath} " +
" WHERE id=#{id}")
+ @Options(useGeneratedKeys = false)
void updateComponentUuids(Component component);
}