title: Problems with JPA Hibernate Query with 'Interval'
body: <p>I need the possibility to retrieve the orders for the past 6 months for my backend application.</p>
  <pre><code> @Query(&quot;Select ord From orders ord WHERE ord.created_date  &lt;= (current_date  - INTERVAL '6 months')&quot;)
      List&lt;Order&gt; findOrders();
  </code></pre>
  <pre><code>unexpected token: INTERVAL near line 1, column 70 [Select ord From orders ord WHERE ord.created_date  &lt;= (current_date  INTERVAL '6 months')
  </code></pre>
  <p>After some research , I've found out that JPA does not support the INTERVAL definition.
  Is there a workaround for archiving this particularly function ?</p>