[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2081) Custom aggregate function

rafael liu santos (JIRA) noreply at atlassian.com
Mon Sep 18 12:37:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2081?page=comments#action_24541 ] 

rafael liu santos commented on HHH-2081:
----------------------------------------

Doesn't ResultTransformer just maps the result to a bean?
I was thinking something like:

select a.bithday, catsons(a.name)
from animal a
where a1.parent = someparent
group by a1.birthday

And then we would implement a class "catson" that recives a list of  "a.name"s and return a concataned string of all names.

> Custom aggregate function
> -------------------------
>
>          Key: HHH-2081
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2081
>      Project: Hibernate3
>         Type: New Feature

>     Reporter: rafael liu santos

>
>
> Would it be useful to any one else? (besides a cool thing that can be done with hibernate). Having a class to which would be passed some fields that it would process and the class would at some point of the iteration return an object?

-- 
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