public class EntityMapCamelCaseResultTransformer
extends org.hibernate.transform.AliasedTupleSubsetResultTransformer
ResultTransformer implementation which builds a map for each "row",
made up of each aliased value where the alias is the map key.
Since this transformer is stateless, all instances would be considered equal.
So for optimization purposes we limit it to a single, singleton instance.| 限定符和类型 | 字段和说明 |
|---|---|
static EntityMapCamelCaseResultTransformer |
INSTANCE |
public static final EntityMapCamelCaseResultTransformer INSTANCE
public Object transformTuple(Object[] tuple, String[] aliases)
transformTuple 在接口中 org.hibernate.transform.ResultTransformertransformTuple 在类中 org.hibernate.transform.BasicTransformerAdapterpublic boolean isTransformedValueATupleElement(String[] aliases, int tupleLength)
Copyright © 2020. All rights reserved.