|
|
|
@ -647,10 +647,12 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
|
|
|
|
|
public StrategyConfig find() { |
|
|
|
|
StrategyConfig strategyConfig = null; |
|
|
|
|
if (getTableData() != null) { |
|
|
|
|
try { |
|
|
|
|
strategyConfig = getTableData().getStrategyConfig() == null ? null : getTableData().getStrategyConfig().clone(); |
|
|
|
|
} catch (CloneNotSupportedException e) { |
|
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
|
strategyConfig = getTableData().getStrategyConfig(); |
|
|
|
|
if (strategyConfig == null) { |
|
|
|
|
//共享数据集
|
|
|
|
|
if (getTableData().isShare()) { |
|
|
|
|
strategyConfig = StrategyConfigHelper.createStrategyConfig(true, false, true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|