On 24 Oct (20:49), Maurice le Rutte wrote:

> "select cat, count( elements(cat.kittens) ) from eg.Cat cat group by cat"
> 
> It is not clear to me what the result of such a query would be. What type 
> would be the contents of the objects contained by the collection returned 
> by the query's list() or iterate() methods.

A collection of Object[], where index 0 is a Cat and index 1 is an
Integer.

-- 
Christian Bauer
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to