mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-09-04 11:25:44 +00:00
修复issue反馈问题
This commit is contained in:
@@ -104,7 +104,7 @@ public abstract class AbstractMetadataProvider
|
||||
public TableDescription queryTableMeta(Connection connection, String schemaName,
|
||||
String tableName) {
|
||||
try (ResultSet tables = connection.getMetaData()
|
||||
.getTables(catalogName, schemaName, tableName, new String[]{"TABLE"})) {
|
||||
.getTables(catalogName, schemaName, tableName, new String[]{"TABLE","VIEW"})) {
|
||||
if (tables.next()) {
|
||||
TableDescription td = new TableDescription();
|
||||
td.setSchemaName(schemaName);
|
||||
|
Reference in New Issue
Block a user