Top Fields Constructors Methods
org.hibernate.transform

public final Class Transformers

extends Object
Class Inheritance
Annotations
@Deprecated

Deprecated

since ResultTransformer is deprecated

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 <T> ResultTransformer<T>
aliasToBean(Class<T> target)

Deprecated as a consequence of ResultTransformer being deprecated.
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

Deprecated

as a consequence of AliasToEntityMapResultTransformer being deprecated. See corresponding docs for further information.

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

TO_LISTback to summary
public static final ToListResultTransformer TO_LIST

Deprecated

as a consequence of ToListResultTransformer being deprecated. See corresponding docs for further information.

Each row of results is a List

Constructor Detail

Transformersback to summary
private Transformers()

Method Detail

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

Deprecated

as a consequence of ResultTransformer being deprecated. See corresponding docs for further information.

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