@Nullable public T_ENTITY findRevision(int id,int revisionNumber){
  T_ENTITY result=null;
  try {
    begin();
    AuditReader reader=AuditReaderFactory.get(getEntityManager());
    result=reader.find(entityClass,id,revisionNumber);
    commit();
  }
 catch (  NoResultException e) {
    rollback();
    LOG.warn("No result for revision " + revisionNumber + " with id of "+ id);
  }
 finally {
    cleanup();
  }
  return result;
}

@ Nullable public T_ENTITY findRevision ( int id , int revisionNumber ) { T_ENTITY result = null ; try { begin ( ) ; AuditReader reader = AuditReaderFactory . get ( getEntityManager ( ) ) ; result = reader . find ( entityClass , id , revisionNumber ) ; commit ( ) ; } catch ( NoResultException e ) { rollback ( ) ; LOG . warn ( "No result for revision " + revisionNumber + " with id of " + id ) ; } finally { cleanup ( ) ; } return result ; }
gets the entity at the specified revision
