提交 d8de1712 编写于 作者: S Serge Rider

Generic: reference reading fix

上级 fb829d03
......@@ -44,6 +44,7 @@ import org.jkiss.utils.CommonUtils;
import java.sql.DatabaseMetaData;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.util.*;
/**
......@@ -440,7 +441,12 @@ public abstract class GenericTableBase extends JDBCTable<GenericDataSource, Gene
return fkList;
} catch (SQLException ex) {
throw new DBException(ex, getDataSource());
if (ex instanceof SQLFeatureNotSupportedException) {
log.debug("Error reading references", ex);
return Collections.emptyList();
} else {
throw new DBException(ex, getDataSource());
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册