code: public <T> T executeSelect(String name, DataObject object, ResultSetWorker<T> worker) throws Exception {
          ParametricQuery statement = (ParametricQuery)_statements.get(name);
          if (statement != null) {
              return statement.executeSelect(DataSourceUtils.getConnection(_dataSource), object, worker);
          } else {
              throw new RuntimeException("ParametricQuery '" + name + "' not found");
          }
      }
docs: Executes a SELECT statement and passes the result set to the ResultSetWorker.