title: JPA - Query with 'composite values' in where-clause
body: <p>I want to realize the following (for this example: MySQL) statement in JPA 2.1 with Eclipselink as the implementation:</p>
  
  <pre><code>select *
  from account
  where (mailing_zip_code, id) &gt; (56237, 275)
  order by mailing_zip_code asc, id asc 
  limit 10;
  </code></pre>
  
  <p>What I want to achieve is an implementation of the seek method for endless scrolling without using an offset in the query. With focus on the where clause, I am not able to find a correct name for this construct. In some places it is called 'composite value', but I am not able to find results by this name, but it seems to be compliant with the SQL-92 standard. </p>
  
  <p>This statement will be extended by filter parameters, so naturally I would like to build it with the JPA criteria API. </p>
  
  <p>I searched the API for some time now, does anybody now if and how this is possible?</p>