Skip to content

Commit

Permalink
[#575] feat(jdbc): Support for DataSource and schema operations in JD…
Browse files Browse the repository at this point in the history
…BC catalog.
  • Loading branch information
Clearvive authored and Clearvive committed Nov 13, 2023
1 parent ca051e3 commit a037eaf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ public List<String> list() {
ResultSet schemas = metaData.getSchemas(connection.getCatalog(), null);
while (schemas.next()) {
// TABLE_SCHEM not a wrong word. It is the name of the column in the result set
final String schemaName = schemas.getString("TABLE_SCHEM").toLowerCase(Locale.ENGLISH);
final String schemaName = schemas.getString("TABLE_SCHEM");
// skip internal schemas
if (!StringUtils.equals("information_schema", schemaName)) {
if (!StringUtils.equalsIgnoreCase("information_schema", schemaName)) {
builder.add(schemaName);
}
}
Expand Down

0 comments on commit a037eaf

Please sign in to comment.