Skip to content

Commit

Permalink
0002683: Better implementation of getTables()
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderrd committed Aug 5, 2016
1 parent 66d7d1a commit e021cf6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -262,7 +262,7 @@ public List<String> getTableNames(final String catalog, final String schema,
StringBuilder sql = new StringBuilder("select \"TABLE_NAME\" from \"INFORMATION_SCHEMA\".\"TABLES\" where \"TABLE_TYPE\"='BASE TABLE'");
List<Object> args = new ArrayList<Object>(2);
if (isNotBlank(catalog)) {
sql.append(" and \"TBALE_CATALOG\"=?");
sql.append(" and \"TABLE_CATALOG\"=?");
args.add(catalog);
}
if (isNotBlank(schema)) {
Expand Down

0 comments on commit e021cf6

Please sign in to comment.