title: SQL for NamedQuery in EclipseLink
body: <p>I want to write following query as <code>NamedQuery</code> in <code>Eclipselink</code></p>
  
  <pre><code>   select o  from user o where trunc(o.TRSF_DATE) = ?1 and o.contrno in(?2,?3,?4,?5,?6,?7,?8,?9,?10,?11)
  </code></pre>
  
  <p>I am getting following error</p>
  
  <pre><code>   Internal Exception: NoViableAltException(83!=[661:1: simpleConditionalExpressionRemainder[Object left] returns [Object node] : (n= compariso
  nExpression[left] | (n1= NOT )? n= conditionWithNotExpression[(n1!=null), left] | IS (n2= NOT )? n= isExpression[(n2!=null), left] );])
          at org.eclipse.persistence.exceptions.JPQLException.unexpectedToken(JPQLException.java:372)
  </code></pre>
  
  <p>Regards,</p>