DataSourceCollection dsc = null;
int index = -1;
Set set = pool.dataSourceCollections();
for (Iterator it = set.iterator(); it.hasNext(); ) {
DataSourceCollection col = (DataSourceCollection)it.next();
int idx = col.indexOf(ret);
if (idx!=-1) {
index = idx;
dsc = col;
break;
}