From 99290e5b07dc5105d249392af29e89b03d25f70a Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 12 Dec 2014 14:58:15 +0100 Subject: [PATCH] SONAR-5753 Fix issue on MySQL --- .../v50/PopulateProjectsUuidColumnsMigration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.39.5