title: How to get the database time with JPQL?
body: <p>with native SQL I get the database time with a statement like:</p>
  
  <pre><code>SELECT CURRENT_TIMESTAMP
  </code></pre>
  
  <p>with JPQL I get the same result with:</p>
  
  <pre><code>SELECT CURRENT_TIMESTAMP
  FROM Customer c
  WHERE c.id=1
  </code></pre>
  
  <p>Is there a way to get rid of the last two lines?</p>
  
  <p>thanks,</p>