[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-114?pag...
]
Emmanuel Bernard updated HSEARCH-114:
-------------------------------------
Assignee: John Griffin
Description:
Hibernate Queries provide a hook to adjust the results. Especially when doing a
projection, the application can return List<Map>, List<Object> rather than the
default List<Object[]>
It's quite handy, and we can reuse the same mechanism for Hibernate Search queries.
Basically add a setResultTransformer method to the query APIs and use it when the Object[]
from the projection is ready.
Fix Version/s: 3.0.1
Introduce ResultTransformer to the query API
--------------------------------------------
Key: HSEARCH-114
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-114
Project: Hibernate Search
Issue Type: New Feature
Components: query
Reporter: Emmanuel Bernard
Assignee: John Griffin
Fix For: 3.0.1
Hibernate Queries provide a hook to adjust the results. Especially when doing a
projection, the application can return List<Map>, List<Object> rather than the
default List<Object[]>
It's quite handy, and we can reuse the same mechanism for Hibernate Search queries.
Basically add a setResultTransformer method to the query APIs and use it when the
Object[] from the projection is ready.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira