code: public <T extends DataObject> List<T> getResults(String name, DataObject object) throws Exception {
          @SuppressWarnings("unchecked")
          ObjectMappedQuery<T> statement = (ObjectMappedQuery<T>)_statements.get(name);
          if (statement != null) {
              return statement.getResults(DataSourceUtils.getConnection(_dataSource), object);
          } else {
              throw new RuntimeException("ObjectMappedQuery '" + name + "' not found");
          }
      }
docs: Executes a SELECT statement and returns the result set as a list of objects