title: Is it possible to search for same value on multiple columns with Hibernate Criteria?
body: <p>I have search query that has many optional parameters and then search word field that searches many columns. Is it possible to use hibernate criteria for this purpose? I need to search many columns with same search word.</p>
  
  <p>Example code (what is not working correctly)</p>
  
  <pre><code>if(isNotEmpty(searchWord))
  {
      criteria.add(Restrictions.like("description", searchWord));
      criteria.add(Restrictions.like("name", searchWord));
  }
  </code></pre>