mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 12:37:55 +00:00
@@ -44,7 +44,7 @@ public abstract class BaseDbAdaptor implements DbAdaptor {
|
|||||||
List<String> tablesAndViews = new ArrayList<>();
|
List<String> tablesAndViews = new ArrayList<>();
|
||||||
DatabaseMetaData metaData = getDatabaseMetaData(connectionInfo);
|
DatabaseMetaData metaData = getDatabaseMetaData(connectionInfo);
|
||||||
|
|
||||||
try (ResultSet resultSet = metaData.getTables(null, schemaName, null,
|
try (ResultSet resultSet = metaData.getTables(schemaName, schemaName, null,
|
||||||
new String[]{"TABLE", "VIEW"})) {
|
new String[]{"TABLE", "VIEW"})) {
|
||||||
while (resultSet.next()) {
|
while (resultSet.next()) {
|
||||||
String name = resultSet.getString("TABLE_NAME");
|
String name = resultSet.getString("TABLE_NAME");
|
||||||
|
|||||||
Reference in New Issue
Block a user