}
@Override
public <T> Collection<T> getCollection(final JDBCFilter filter, final JDBCMapper<T> mapper) {
try {
Client client = new CommonCallableClient(this.getConnection());
ResultSet rs = client.executeQuery(filter.getFilter(), this.toParameterList(filter.getParameters()));
List<T> list = new LinkedList<T>();
while (rs.next()) {
list.add(mapper.map(rs));
}
return list;