diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-12-02 14:42:20 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-12-02 14:42:20 +0100 |
commit | 2ee647204c6055593290988bafbbd2bcb5985f7e (patch) | |
tree | 411943be8b5eabd273150e20f9d836a7ef743a5a | |
parent | 2286c644b40d4223c351faad961de6ae70376c12 (diff) | |
download | sonarqube-2ee647204c6055593290988bafbbd2bcb5985f7e.tar.gz sonarqube-2ee647204c6055593290988bafbbd2bcb5985f7e.zip |
Table names are not correctly loaded in DaoTestCase
-rw-r--r-- | sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java b/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java index ad5821511b8..045a6474d3d 100644 --- a/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java +++ b/sonar-core/src/test/java/org/sonar/persistence/dao/DaoTestCase.java @@ -99,7 +99,7 @@ public abstract class DaoTestCase { DatabaseMetaData meta = connection.getMetaData(); Statement statement = connection.createStatement(); - ResultSet res = meta.getTables(null, null, null, new String[]{"TABLE"}); + ResultSet res = meta.getTables(null, database.getSchema(), null, new String[]{"TABLE"}); List<String> tables = Lists.newArrayList(); while (res.next()) { String tableName = res.getString("TABLE_NAME"); |