public Integer getNbTweetsByUser(String login) {
   Long res =
       (Long)
           crudDAO.findUniqueWithNamedQuery(
               Tweet.COUNT_TWEETS_FOR_USER, QueryParameters.with("name", login).parameters());
   return res.intValue();
 }
 public String getEmailOfTweetOwner(Long tweetId) {
   return (String)
       crudDAO.findUniqueWithNamedQuery(
           Tweet.EMAIL_ADDRESS_OF_TWEET_OWNER,
           QueryParameters.with("tweetId", Long.valueOf(tweetId)).parameters());
 }