类的使用
org.hibernate.criterion.CountProjection
-
使用CountProjection的程序包 程序包 说明 org.hibernate.criterion A framework for defining restriction criteria and order criteria. -
-
org.hibernate.criterion中CountProjection的使用
返回CountProjection的org.hibernate.criterion中的方法 修饰符和类型 方法 说明 static CountProjectionProjections. count(String propertyName)A property value count projectionCountProjectionProperty. count()Creates a property count projectionstatic CountProjectionProjections. countDistinct(String propertyName)A distinct property value count projectionCountProjectionCountProjection. setDistinct()Sets the count as being distinct
-