@Transactional
  public HolidayCard findCurrentHolidayCard(User user) {

    Calendar calendar = Calendar.getInstance();
    calendar.setTime(new Date());
    int currentYear = calendar.get(Calendar.YEAR);

    HolidayCard holidayCard = holidayCardDAO.findByUserAndYear(user, currentYear);
    if (holidayCard == null) {
      holidayCard = createUserHolidayCard(user);
      holidayCardDAO.persist(holidayCard);
    }
    return holidayCard;
  }
 @Transactional
 public void save(HolidayCard holidayCard) {
   // save the complete holidayCard
   holidayCardDAO.update(holidayCard);
 }
 @Transactional
 public void delete(HolidayCard holidayCard) {
   // remove the complete holidayCard
   holidayCardDAO.delete(holidayCard);
 }
 @Transactional
 public List<HolidayCard> findAll() {
   return holidayCardDAO.findAll();
 }
 @Transactional
 public HolidayCard createNew() {
   return holidayCardDAO.createNew();
 }
 @Transactional(readOnly = true)
 public HolidayCard findById(long id) {
   return holidayCardDAO.findById(id);
 }