title: compare two string having one is separated by space using criteria in Hibernate
body: <p>I want to check equality of two strings and it should return data if one string separated by space.</p>
  
  <p>ex: String 1 = softskill (from table)</p>
  
  <p>String 2 = soft skill (from input)</p>
  
  <p>using below code</p>
  
  <pre><code>Criteria crit = session.createCriteria(TableClass.class);
  crit.add(Restrictions.eq("fieldName", "string1"));
  </code></pre>
  
  <p>Is there any way?</p>