}
}
private AbstractDBSelector createDBSelector2(
List<DataSourceWrapper> dswList, boolean isRead) {
AbstractDBSelector dbSelector;
if (dswList.size() == 1) {
DataSourceWrapper dsw = dswList.get(0);
dbSelector = new OneDBSelector(dsw);
dbSelector.setDbType(dsw.getDBType());
} else {
dbSelector = createEquityDbManager(dswList, isRead,
groupExtraConfig);
}
return dbSelector;