Example usage for org.hibernate.criterion AggregateProjection subclass-usage

List of usage examples for org.hibernate.criterion AggregateProjection subclass-usage

Introduction

In this page you can find the example usage for org.hibernate.criterion AggregateProjection subclass-usage.

Usage

From source file org.jasig.ssp.util.hibernate.MultipleCountProjection.java

/**
 * Hibernate {@link org.hibernate.criterion.Projection} for counting combinations
 * of possibly distinct column values. This is a workaround for
 * {@link org.hibernate.criterion.Projections#countDistinct(String)}
 * only accepting a single column reference. The original version of this
 * class was found <a href="https://forum.hibernate.org/viewtopic.php?p=2321638#p2321638">here</a>.