code: public int deleteSmsOlderThan(final Date date) {
  		final String hql = "delete from Sms as sms where sms.Date < :date";
  		
  		final Query query = getCurrentSession().createQuery(hql);
  		query.setTimestamp("date", date);
  		
  		final int nbSmsDeleted = query.executeUpdate();
  		
  		return nbSmsDeleted;
  	}
docs: /* (non-Javadoc)
  @see org.esupportail.smsuapi.dao.DaoService#deleteSmsOlderThan(java.util.Date)