Class RevisionsOfEntityQuery
- java.lang.Object
-
- org.hibernate.envers.query.internal.impl.AbstractAuditQuery
-
- org.hibernate.envers.query.internal.impl.RevisionsOfEntityQuery
-
- All Implemented Interfaces:
AuditQuery
public class RevisionsOfEntityQuery extends AbstractAuditQuery
-
-
Field Summary
-
Fields inherited from class org.hibernate.envers.query.internal.impl.AbstractAuditQuery
aliasToComponentPropertyNameMap, aliasToEntityNameMap, associationQueries, associationQueryMap, criterions, entityClassName, entityInstantiator, entityName, enversService, hasOrder, projections, qb, versionsEntityName, versionsReader
-
-
Constructor Summary
Constructors Constructor Description RevisionsOfEntityQuery(EnversService enversService, AuditReaderImplementor versionsReader, Class<?> cls, boolean selectEntitiesOnly, boolean selectDeletedEntities, boolean selectRevisionInfoOnly, boolean includePropertyChanges)
RevisionsOfEntityQuery(EnversService enversService, AuditReaderImplementor versionsReader, Class<?> cls, String entityName, boolean selectEntitiesOnly, boolean selectDeletedEntities, boolean selectRevisionInfoOnly, boolean includePropertyChanges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
list()
AuditAssociationQuery<? extends AuditQuery>
traverseRelation(String associationName, JoinType joinType, String alias, AuditCriterion onClauseCriterion)
-
Methods inherited from class org.hibernate.envers.query.internal.impl.AbstractAuditQuery
add, addAssociationQuery, addOrder, addProjection, applyProjections, buildAndExecuteQuery, buildQuery, getAlias, getEntityConfiguration, getEntityName, getResultList, getSingleResult, hasProjection, registerProjection, setCacheable, setCacheMode, setCacheRegion, setComment, setFirstResult, setFlushMode, setLockMode, setLockOptions, setMaxResults, setQueryProperties, setTimeout, traverseRelation, traverseRelation
-
-
-
-
Constructor Detail
-
RevisionsOfEntityQuery
public RevisionsOfEntityQuery(EnversService enversService, AuditReaderImplementor versionsReader, Class<?> cls, boolean selectEntitiesOnly, boolean selectDeletedEntities, boolean selectRevisionInfoOnly, boolean includePropertyChanges)
-
RevisionsOfEntityQuery
public RevisionsOfEntityQuery(EnversService enversService, AuditReaderImplementor versionsReader, Class<?> cls, String entityName, boolean selectEntitiesOnly, boolean selectDeletedEntities, boolean selectRevisionInfoOnly, boolean includePropertyChanges)
-
-
Method Detail
-
traverseRelation
public AuditAssociationQuery<? extends AuditQuery> traverseRelation(String associationName, JoinType joinType, String alias, AuditCriterion onClauseCriterion)
-
list
public List list() throws AuditException
- Specified by:
list
in classAbstractAuditQuery
- Throws:
AuditException
-
-