Class AggregatedAuditExpression

    • Method Detail

      • addToQuery

        public void addToQuery​(org.hibernate.envers.boot.internal.EnversService enversService,
                               org.hibernate.envers.internal.reader.AuditReaderImplementor versionsReader,
                               Map<String,​String> aliasToEntityNameMap,
                               String baseAlias,
        Specified by:
        addToQuery in interface AuditCriterion
      • computeAggregationInInstanceContext

        public AggregatedAuditExpression computeAggregationInInstanceContext()
        Compute aggregated expression in the context of each entity instance separately. Useful for retrieving latest revisions of all entities of a particular type.
        Implementation note: Correlates subquery with the outer query by entity id.
        this (for method chaining).