Package org.hibernate.transform
Class Transformers
- java.lang.Object
- org.hibernate.transform.Transformers
@Deprecatedpublic final classTransformersextendsObject
Deprecated.sinceResultTransformeris deprecated
Field Summary
Fields Modifier and Type Field Description staticAliasToEntityMapResultTransformerALIAS_TO_ENTITY_MAPDeprecated.Each row of results is aMapfrom alias to values/entitiesstaticToListResultTransformerTO_LISTDeprecated.Each row of results is aList
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> ResultTransformer<T>aliasToBean(Class<T> target)Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.
Field Detail
ALIAS_TO_ENTITY_MAP
public static final AliasToEntityMapResultTransformer ALIAS_TO_ENTITY_MAP
Deprecated.Each row of results is aMapfrom alias to values/entities
TO_LIST
public static final ToListResultTransformer TO_LIST
Deprecated.Each row of results is aList
Method Detail
aliasToBean
public static <T> ResultTransformer<T> aliasToBean(Class<T> target)
Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.