Class DistinctRootEntityResultTransformer

java.lang.Object
org.hibernate.transform.DistinctRootEntityResultTransformer
All Implemented Interfaces:
Serializable, ResultTransformer

public class DistinctRootEntityResultTransformer extends Object implements ResultTransformer, Serializable
Much like RootEntityResultTransformer, but we also distinct the entity in the final result.

Since this transformer is stateless, all instances would be considered equal. So for optimization purposes we limit it to a single, singleton instance.

See Also: