[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2774?page=c...
]
Christian Bauer commented on HHH-2774:
--------------------------------------
Short story: I convert a flat tree (a bunch of arrays/tuples) into a tree representation
with object references.
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira