/** @see net.frontlinesms.data.repository.KeywordActionDao#incrementCounter(KeywordAction) */
 public void incrementCounter(KeywordAction action) {
   String incrementCounterQuery =
       "UPDATE "
           + KeywordAction.TABLE_NAME
           + " as action"
           + " SET "
           + KeywordAction.Field.COUNTER
           + "="
           + KeywordAction.Field.COUNTER
           + "+1"
           + " WHERE action=?";
   super.getHibernateTemplate().bulkUpdate(incrementCounterQuery, action);
   action.incrementCounter();
 }
 public void deleteForEmailAccount(EmailAccount emailAccount) {
   super.getHibernateTemplate()
       .bulkUpdate("DELETE FROM KeywordAction WHERE emailAccount=?", emailAccount);
 }