站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

Transformers (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.transform
Class Transformers

java.lang.Object
  extended byorg.hibernate.transform.Transformers

public final class Transformers
extends Object


Field Summary
static ResultTransformer ALIAS_TO_ENTITY_MAP
          Each row of results is a Map from alias to values/entities
static ResultTransformer TO_LIST
          Each row of results is a List
 
Method Summary
static ResultTransformer aliasToBean(Class target)
          Creates a resulttransformer that will inject aliased values into instances of Class via property methods or fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIAS_TO_ENTITY_MAP

public static final ResultTransformer ALIAS_TO_ENTITY_MAP
Each row of results is a Map from alias to values/entities


TO_LIST

public static final ResultTransformer TO_LIST
Each row of results is a List

Method Detail

aliasToBean

public static ResultTransformer aliasToBean(Class target)
Creates a resulttransformer that will inject aliased values into instances of Class via property methods or fields.