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

Christian Bauer (JIRA) noreply at atlassian.com
Thu Aug 9 05:29:13 EDT 2007


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: Hibernate3
          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.
-
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