[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2774) Call ResultTransformer.transformList() even if the list argument is an empty list

Nikhil Ruikar (JIRA) noreply at atlassian.com
Mon Oct 10 08:33:19 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43979#comment-43979 ] 

Nikhil Ruikar commented on HHH-2774:
------------------------------------

Hi I also came across same problem. Can you please provide me such other characters which can not be used in hibernate SQL query

> Call ResultTransformer.transformList() even if the list argument is an empty list
> ---------------------------------------------------------------------------------
>
>                 Key: HHH-2774
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2774
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>            Reporter: Christian Bauer
>            Priority: Trivial
>
> I have a case where a ResultTransformer is doing all the work in transformTuple() and always returns null from that method. The transformed target state is held internally in the ResultTransformer instance (I basically turn many tuples into one). Now I can't get this state out of the ResultTransformer because transformList() is not called after transformTuple(). 
> It would be better if transformList() is called even if the list of tuples returned by transformTuple() is empty.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list