当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
ResultTransformer (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.transform
Interface ResultTransformer
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- AliasToBeanConstructorResultTransformer, AliasToBeanResultTransformer, AliasToEntityMapResultTransformer, DistinctRootEntityResultTransformer, PassThroughResultTransformer, RootEntityResultTransformer, ToListResultTransformer
- public interface ResultTransformer
- extends Serializable
Implementors define a strategy for transforming criteria query
results into the actual application-visible query result list.
- Author:
- Gavin King
- See Also:
Criteria.setResultTransformer(ResultTransformer)
transformTuple
public Object transformTuple(Object[] tuple,
String[] aliases)
transformList
public List transformList(List collection)