Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » transform » [javadoc | source]
org.hibernate.transform
public class: DistinctRootEntityResultTransformer [javadoc | source]
java.lang.Object
   org.hibernate.transform.DistinctRootEntityResultTransformer

All Implemented Interfaces:
    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 (this is not quite true yet: see deprecation notice on constructor ).

Field Summary
public static final  DistinctRootEntityResultTransformer INSTANCE     
Constructor:
 public DistinctRootEntityResultTransformer() 
    Method from org.hibernate.transform.DistinctRootEntityResultTransformer Summary:
    equals,   hashCode,   transformList,   transformTuple
    Methods from java.lang.Object:
    equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
    Method from org.hibernate.transform.DistinctRootEntityResultTransformer Detail:
     public boolean equals(Object other) 
     public int hashCode() 
     public List transformList(List list) 
     public Object transformTuple(Object[] tuple,
        String[] aliases)