[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-114) Introduce ResultTransformer to the query API

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Oct 22 17:49:39 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list