code: public List<T> query(ConnectionSource connectionSource, PreparedStmt<T> preparedStmt, ObjectCache objectCache)
  			throws SQLException {
  		SelectIterator<T, ID> iterator = buildIterator(/* no dao specified because no removes */null, connectionSource,
  				preparedStmt, objectCache, DatabaseConnection.DEFAULT_RESULT_FLAGS);
  		try {
  			List<T> results = new ArrayList<T>();
  			while (iterator.hasNextThrow()) {
  				results.add(iterator.nextThrow());
  			}
  			logger.debug("query of '{}' returned {} results", preparedStmt.getStatement(), results.size());
  			return results;
  		} finally {
  			IOUtils.closeThrowSqlException(iterator, "iterator");
  		}
  	}
docs: Return a list of all of the data in the table that matches the {@link PreparedStmt}. Should be used carefully if
  the table is large. Consider using the {@link Dao#iterator} if this is the case.