class MonitoringNotificationDao extends NamedParameterJdbcDaoSupport {

    @Transactional(propagation = Propagation.SUPPORTS)
    public NotificationMessage loadMonitoringNotification(Long id) {
        List<NotificationMessage> items = getJdbcTemplate().query(loadMonitoringNotificationQuery,
                MonitoringNotificationParameters.getRowMapper(), id);
        return !items.isEmpty() ? items.get(0) : null;
    }

}