I have three entities with OneToMany relation. Author -> Book -> BookEdition. There is no problem to do this: AuditQuery auditQuery = AuditReaderFactory.get(getCurrentSession()).createQuery().forEntitiesAtRevision(BookEdition.class, 1); auditQuery .traverseRelation("book", JoinType.INNER, "book") .traverseRelation("author", JoinType.INNER, "author").up().up() .add(AuditEntity.property("author","lastname").like("******")); List<BookEdition> bookEditions = auditQuery.getResultList(); But when I want to do the same with forRevisionsOfEntity, it is not working. AuditQuery auditQuery = AuditReaderFactory.get(getCurrentSession()).createQuery().forRevisionsOfEntity(BookEdition.class, false, false); |