title: Hibernate Envers: how to get the revision_type information for a given revision and a given entity class
body: <p>I am using Hibernate envers 3.6.3.Final.  I can audit table and I can see the <code>_audit</code> table is populated with the <code>revision_number</code>, <code>revision_type</code> and entity data.
   I am making a history page, where I want to display all revision entries, so that when user clicks a revision id, then I can display the entity data along with revision type i.e. it is added, deleted or modified. I am trying to use <code>AuditQuery</code>, but I am not sure how to get the <code>revision_type</code> information for a given revision and a given entity class. Is is possible to do in <code>AuditQuery</code> ? </p>
  
  <p>I can get the 'RevisionType' info by writing Hibernate query. But I want to reuse any existing framework api for this.  In another way, I passed different 'RevisionType' as criteria to <code>AuditQuery</code>  (i.e. multiple query for DELETE, INSERT and UPDATE) and check if  I get any result, but this is not efficient way. </p>