]> source.dussan.org Git - sonarqube.git/commitdiff
H2 migration restore previous method to list db tables
authorDavid Gageot <david@gageot.net>
Thu, 5 Jul 2012 16:27:37 +0000 (18:27 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 5 Jul 2012 16:29:10 +0000 (18:29 +0200)
sonar-core/src/test/java/org/sonar/core/persistence/DdlUtilsTest.java

index 250b86eb6d4cd77acd3466c37b72a561534e4674..0384c227ac5bbfbc4f2ab0e735fe5ff1644c89f2 100644 (file)
@@ -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++;
     }