class PipelineRunDao extends NamedParameterJdbcDaoSupport {

    @Transactional(propagation = Propagation.REQUIRED)
    public void updateRunStatus(PipelineRun run) {
        getNamedParameterJdbcTemplate().update(updateRunStatusQuery, PipelineRunParameters
                .getParameters(run, getConnection()));
    }

}