Skip to content

Commit

Permalink
[Hotfix][Connector][Jdbc] Fix sqlserver system table case sensitivity (
Browse files Browse the repository at this point in the history
  • Loading branch information
hailin0 authored May 23, 2023
1 parent cce371a commit 2ca7426
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public SqlServerCatalog(
@Override
public List<String> listDatabases() throws CatalogException {
try (Connection conn = DriverManager.getConnection(defaultUrl, username, pwd);
PreparedStatement ps = conn.prepareStatement("SELECT NAME FROM SYS.DATABASES")) {
PreparedStatement ps = conn.prepareStatement("SELECT NAME FROM sys.databases")) {

List<String> databases = new ArrayList<>();
ResultSet rs = ps.executeQuery();
Expand Down

0 comments on commit 2ca7426

Please sign in to comment.