From ccf4726ae0530695bd55903a989bbd6afae1dd5c Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 10 Oct 2014 08:59:32 +0200 Subject: [PATCH] SONAR-5605 MySQL: configure driver to use server side cursor and not client side cursor --- .../java/org/sonar/server/db/migrations/SelectImpl.java | 7 +------ sonar-application/src/main/assembly/conf/sonar.properties | 2 +- .../src/main/java/org/sonar/application/JdbcSettings.java | 1 + .../test/java/org/sonar/application/JdbcSettingsTest.java | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java index b49fc88edee..d0724aaa813 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java +++ b/server/sonar-server/src/main/java/org/sonar/server/db/migrations/SelectImpl.java @@ -21,7 +21,6 @@ package org.sonar.server.db.migrations; import org.apache.commons.dbutils.DbUtils; import org.sonar.core.persistence.Database; -import org.sonar.core.persistence.dialect.MySql; import java.sql.Connection; import java.sql.PreparedStatement; @@ -83,11 +82,7 @@ class SelectImpl extends BaseSqlStatement