title: Java: JPQL date function to add a time period to another date
body: <pre><code>SELECT x FROM SomeClass
  WHERE x.dateAtt BETWEEN CURRENT_DATE AND (CURRENT_DATE + 1 MONTH)
  </code></pre>
  
  <p>In the above JPQL statement, SomeClass has a memebr <code>dateAttr</code>, which is a <code>java.util.Date</code> and has a <code>@Temporal(javax.persistence.TemporalType.DATE)</code> annotation.</p>
  
  <p>I need a way to do the <code>(CURRENT_DATE + 1 MONTH)</code> bit - it is obviously wrong in its current state - but cannot find the doc with the date function for JPQL.</p>
  
  <p>Can anyone point me in the direction of a doc that <strong>documents JPQL date functions</strong> (and also how to do this particular query)?</p>