title: Select for update skip locked from JPA level
body: <p>In my application - Oracle with JPA (EclipseLink), I'm using the following expression to lock the subset of the records in some tables:</p>
  
  <pre><code>select * from MY_TABLE where MY_CONDITIONS for update skip locked
  </code></pre>
  
  <p>I run it throughout native query, but I have to write that query for all required entities. </p>
  
  <p>Is there any way to skip locked records using pure JPA? Can I implement my own locking policy?</p>
  
  <p>I don't mind changing JPA provider but I want to use JPA API.</p>