From 9dac2e7ad6c2d252189ed202d0552ba6e0b1a899 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 5 Jul 2012 18:27:37 +0200 Subject: [PATCH] H2 migration restore previous method to list db tables --- .../src/test/java/org/sonar/core/persistence/DdlUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-core/src/test/java/org/sonar/core/persistence/DdlUtilsTest.java b/sonar-core/src/test/java/org/sonar/core/persistence/DdlUtilsTest.java index 250b86eb6d4..0384c227ac5 100644 --- a/sonar-core/src/test/java/org/sonar/core/persistence/DdlUtilsTest.java +++ b/sonar-core/src/test/java/org/sonar/core/persistence/DdlUtilsTest.java @@ -53,7 +53,7 @@ public class DdlUtilsTest { static int countTables(Connection connection) throws SQLException { int count = 0; - ResultSet resultSet = connection.getMetaData().getTables(null, null, null, new String[] {"TABLE"}); + ResultSet resultSet = connection.getMetaData().getTables("", null, null, new String[] {"TABLE"}); while (resultSet.next()) { count++; } -- 2.39.5