title: Oracle Query gives different results
body: <p>I have the following query in a proprietary search engine:</p>
  
  <pre><code>ibernate:  SELECT COUNT(1)    FROM CAT_PRODUCTOSHTML PH     WHERE PH.IDPORTAL = ?  AND 0 &lt; CONTAINS(PH.HTMLBUSQUEDAS, '%cuñete%')  
  </code></pre>
  
  <p>However it gives different results if i execute it from PL/SQL Developer:</p>
  
  <pre><code>5
  </code></pre>
  
  <p>or via Hibernate native query </p>
  
  <pre><code>Query query = entityManager.createNativeQuery(query);
  ...
  return query.getResultList();
  
  Result: 0
  </code></pre>
  
  <p>I have some suspects on the oracle session but i'm not sure about it, also i have tried without success:</p>
  
  <pre><code>'%cuñete%'
  '%cu\ñete%'
  </code></pre>