feature: optimize ui and doc (#87)

* feat: add live api

* feat: update jackson config

* feat:update frontend resources
This commit is contained in:
vran
2022-04-12 18:56:38 +08:00
committed by GitHub
parent 85826321b5
commit 89f215a775
37 changed files with 52 additions and 40 deletions

View File

@@ -24,14 +24,6 @@ public class JdbcForeignKeyMetaRepository implements ForeignKeyMetaRepository {
ResultSet keyResult = null;
try {
keyResult = connection.getMetaData().getImportedKeys(databaseName, schemaName, tableName);
} catch (SQLException e) {
log.warn("warn: ignore foreign keys in " + databaseName + "." + tableName + ", " + e.getMessage());
return foreignKeys;
}
try {
keyResult = connection.getMetaData()
.getImportedKeys(databaseName, schemaName, tableName);
while (keyResult.next()) {
String fkTableName = keyResult.getString("FKTABLE_NAME");
String fkColumnName = keyResult.getString("FKCOLUMN_NAME");