title: querydsl spring data jpa operator precedence
body: <pre><code>public interface ItemRepository extends JpaRepository&lt;Item, Integer&gt; {
     List&lt;Item&gt; findByNameAndDescriptionIsNullOrDescription(String name, String desc); 
   }
  </code></pre>
  
  <p>In the native Query, the <code>where</code> condition of <code>findByNameAndDescriptionIsNullOrDescription</code> is translated to </p>
  
  <pre><code>where item0_.NAME=? and (item0_.DESC is null) or item0_.DESC=? 
  </code></pre>
  
  <p>I need to have <strong><code>where item0_.NAME=? and (item0_.DESC is null or item0_.DESC=?)</code></strong></p>
  
  <p>I am using the following</p>
  
  <ul>
  <li><p>spring-data-commons-1.6.3.RELEASE.jar</p></li>
  <li><p>spring-data-jpa-1.4.3.RELEASE.jar</p></li>
  <li><p>(i)hibernate-entitymanager-4.2.14.SP1-redhat-1.jar, (ii) hibernate-jpa-2.0-api-1.0.1.Final-redhat-2.jar offered by JBOSS EAP 6.3</p></li>
  </ul>