Class Transformers
java.lang.Object
org.hibernate.transform.Transformers
Deprecated.
Not sure how useful these are anymore.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AliasToEntityMapResultTransformerDeprecated.Each row of results is aMapfrom alias to values/entitiesstatic final ToListResultTransformerDeprecated.Each row of results is aList -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TypedTupleTransformer<T> aliasToBean(Class<T> target) Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.static <T> TypedTupleTransformer<T> aliasToConstructor(Constructor<T> constructor) Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.static <T> TypedTupleTransformer<T> beanTransformer(Class<T> target) Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.static <T> TypedTupleTransformer<T> constructorTransformer(Constructor<T> constructor) Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.static TypedTupleTransformer<List<Object>> Deprecated.Essentially the same as using HQLselect new list(...) ....static TypedTupleTransformer<Map<String, Object>> Deprecated.Essentially the same as using HQLselect new map(...) ....
-
Field Details
-
ALIAS_TO_ENTITY_MAP
Deprecated.Each row of results is aMapfrom alias to values/entities -
TO_LIST
-
-
Method Details
-
beanTransformer
Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields. -
constructorTransformer
Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields. -
mapTransformer
Deprecated.Essentially the same as using HQLselect new map(...) .... Ultimately transforms the result fromList<Object[]>toList<Map<String,Object>>.- See Also:
-
listTransformer
Deprecated.Essentially the same as using HQLselect new list(...) .... Ultimately transforms the result fromList<Object[]>toList<List<Object>>. -
aliasToBean
Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields. -
aliasToConstructor
Deprecated.Creates a ResultTransformer that will inject aliased values into instances of Class via property methods or fields.
-