title: Get the next value from database sequence
body: <p>I have a sequence in database.
  I need to get the incremented value.I wrote the query which supports only sql.</p>
  
  <pre><code>@Query(value = "SELECT nextval('sequence')", nativeQuery = true)
  </code></pre>
  
  <p>The Query is working fine.But i need to write the query to get the sequence number in JPQL(Which supports both SQL and oracle database)</p>