title: JPA Audit entity direct query
body: <p>I would like to query audit entity in my JPA environment.</p>
  
  <p>At first I do <code>AuditQuery</code> and it works well, but now I need more advance query witch I can't do with <code>AuditQuery</code>.</p>
  
  <p>Now I need something like</p>
  
  <pre><code> this.em.createQuery("FROM ENTITY_AUD").getResultList();
  </code></pre>
  
  <p>but I get error :</p>
  
  <pre><code> QuerySyntaxException: ENTITY_AUD is not mapped [ENTITY_AUD]
  </code></pre>
  
  <p>I understand that this is due that I don't have entity with all properties, but I don't want to have entity because it is audit entity.</p>
  
  <p>Is there a way around it? For me it would be ok to get List of Object.</p>