From: Julien Lancelot Date: Fri, 12 Dec 2014 13:58:15 +0000 (+0100) Subject: SONAR-5753 Fix issue on MySQL X-Git-Tag: 5.0-RC2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=99290e5b07dc5105d249392af29e89b03d25f70a;p=sonarqube.git SONAR-5753 Fix issue on MySQL --- diff --git a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java index 71a6cdc82a0..4f98335f4d7 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java +++ b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/v50/PopulateProjectsUuidColumnsMigration.java @@ -71,11 +71,11 @@ public class PopulateProjectsUuidColumnsMigration implements DatabaseMigration { migrateDisabledComponents(readSession, writeSession, project, uuidByComponentId); } }); - writeSession.commit(); - readSession.commit(); + writeSession.commit(true); + readSession.commit(true); migrateComponentsWithoutUuid(readSession, writeSession); - writeSession.commit(); + writeSession.commit(true); // log the total number of process rows progress.log();