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