We're updating the issue view to help you get more done. 

Add Distinct to Criteria API

Description

Need the ability to specify that results of a Criteria query should be 'DISTINCT', especially when joining to a collection. So the Criteria equivalent of the HQL statement

"select distinct parent from Parent as parent join Parent.children as child where child.age>5"

Environment

Hibernate 2.1+, (Any DB)

Status

Assignee

Unassigned

Reporter

Stephen Owens

Components

Affects versions

2.1 rc1

Priority

Minor