title: JPA gives error on excuting named query using MySQL MATCH function
body: <p>Named Query goes thus:</p>
  
  <p><code>@NamedQuery(name = "Table.findFTS", query = "SELECT t FROM table t WHERE MATCH(t.field1, t.field2) AGAINST (':text' IN BOOLEAN MODE)")</code></p>
  
  <p>and the Error:</p>
  
  <p><code>Exception: Exception [EclipseLink-8025] (Eclipse Persistence Services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.JPQLException Exception Description: Syntax error parsing the query [Businesses.findFTS: SELECT t FROM table t WHERE MATCH(t.field1, t.field2) AGAINST (':text' IN BOOLEAN MODE)], line 1, column 38: unexpected token [(]. Internal Exception: NoViableAltException(83@[()* loopback of 383:9: (d= DOT right= attribute )*])</code></p>
  
  <p>I dunno why am getting this but it seems the MATCH function is giving it a headache</p>