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
Object transformTuple(Object[] tuple,
String[] aliases)
transformList
List transformList(List collection)