Query
before the results are packaged as a List and returned to the caller. Each result
is received as a tuple (that is, as an Object[]), and may be transformed to
some other type.
Implementation Note
Every TupleTransformer is automatically wrapped in an instance of
RowTransformerTupleTransformerAdapter, adapting it to the
org. contract, which is always
used to actually process the results internally.
Query#setTupleTransformer, Query#list, Query#getResultList, ResultListTransformer, org.hibernate.sql.results.spi.RowTransformer
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: The transformed row.The result elements tuple, String[] The result aliases ("parallel" array to tuple) aliases)Tuples are the elements making up each "row" of the query result. |
| transformTuple | back to summary |
|---|---|
| public T transformTuple(Object[] tuple, String[] aliases) Tuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row shape. | |