title: JPA method signature for binary match in mariaDB
body: <p>In my table of mariaDB database, I have a column <code>name</code> and It is going to store a person's name in any language.</p>
  
  <p><a href="https://i.stack.imgur.com/6Z8sx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Z8sx.png" alt="enter image description here"></a></p>
  
  <p>There are 2 names <code>änkür</code> and <code>ankur</code> in table.</p>
  
  <p>If I run below query, it is returning 2 rows </p>
  
  <pre><code>select * from table_name where name ='ankur';
  </code></pre>
  
  <p>As I want to return single result I changed my query like:</p>
  
  <pre><code>select * from table_name where name = BINARY 'ankur';
  </code></pre>
  
  <p>What is the JPA method signature or alternative solution for the above query?</p>