}
return result;
}
@Override
public final void close() throws SQLException {
<BUG>for (ResultSet each : resultSets) {
each.close();

}
closed = true;</BUG>
}

}
private Map<String, Integer> generateColumnLabelIndexMap() throws SQLException {
ResultSetMetaData resultSetMetaData = resultSets.get(0).getMetaData();
Map<String, Integer> result = new CaseInsensitiveMap<>(resultSetMetaData.getColumnCount());
for (int i = 1; i <= resultSetMetaData.getColumnCount(); i++) {
result.put(resultSetMetaData.getColumnLabel(i), i);
}
return result;
}
