class PipelineRunDao extends NamedParameterJdbcDaoSupport {

    public List<PipelineRun> loadAllRunsForPipeline(Long pipelineId) {
        return getJdbcTemplate().query(loadAllRunsByPipelineIdQuery,
                PipelineRunParameters.getRowMapper(), pipelineId);
    }

}