|
|
@ -106,6 +106,13 @@ public class TableViewList extends UIList { |
|
|
|
if (!status) { |
|
|
|
if (!status) { |
|
|
|
throw new Exception(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Database_Connection_Failed")); |
|
|
|
throw new Exception(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Database_Connection_Failed")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
String[] schemas = DataCoreUtils.getDatabaseSchema(datasource); |
|
|
|
|
|
|
|
schemas = (schemas == null || schemas.length == 0) ? new String[]{null} : schemas; |
|
|
|
|
|
|
|
for (String schema : schemas) { |
|
|
|
|
|
|
|
DataCoreUtils.refreshTables(datasource, TableProcedure.TABLE, schema); |
|
|
|
|
|
|
|
DataCoreUtils.refreshTables(datasource, TableProcedure.VIEW, schema); |
|
|
|
|
|
|
|
DataCoreUtils.refreshTables(datasource, TableProcedure.PROCEDURE, schema); |
|
|
|
|
|
|
|
} |
|
|
|
return processDataInAnotherThread(databaseName, searchFilter, typesFilter); |
|
|
|
return processDataInAnotherThread(databaseName, searchFilter, typesFilter); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|