Class RootEntityResultTransformer

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

public final class RootEntityResultTransformer extends BasicTransformerAdapter implements Serializable
ResultTransformer implementation which limits the result tuple to only the "root entity".

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: