Package org.hibernate.transform
Class Transformers
- java.lang.Object
-
- org.hibernate.transform.Transformers
-
public final class Transformers extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static AliasToEntityMapResultTransformer
ALIAS_TO_ENTITY_MAP
Each row of results is a Map from alias to values/entitiesstatic ToListResultTransformer
TO_LIST
Each row of results is a List
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultTransformer
aliasToBean(java.lang.Class target)
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
Each row of results is a Map from alias to values/entities
-
TO_LIST
public static final ToListResultTransformer TO_LIST
Each row of results is a List
-
-
Method Detail
-
aliasToBean
public static ResultTransformer aliasToBean(java.lang.Class target)
Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.
-
-