Top Fields Constructors Methods
org.hibernate.transform

public final Class Transformers

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final AliasToEntityMapResultTransformer
ALIAS_TO_ENTITY_MAP

Each row of results is a Map from alias to values/entities

public static final ToListResultTransformer
TO_LIST

Each row of results is a List

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ResultTransformer
aliasToBean(Class<T> target)

Creates a resulttransformer that will inject aliased values into instances of Class via property methods or fields.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ALIAS_TO_ENTITY_MAPback to summary
public static final AliasToEntityMapResultTransformer ALIAS_TO_ENTITY_MAP

Each row of results is a Map from alias to values/entities

TO_LISTback to summary
public static final ToListResultTransformer TO_LIST

Each row of results is a List

Constructor Detail

Transformersback to summary
private Transformers()

Method Detail

aliasToBeanback to summary
public static ResultTransformer aliasToBean(Class<T> target)

Creates a resulttransformer that will inject aliased values into instances of Class via property methods or fields.