Can anyone confirm this please, I have looked over this and can’t see why this doesn’t work.
Query
select new map(parent.Id as forumId, parent.name as name)
from fbCat node, fbCat parent
where node.left BETWEEN parent.left AND parent.right AND node.forumId =:forumId
order by node.left
When I dump this I get a struct, that actually has the correct information within the struct. I would assume that I could do this
#[cat.name#](http://cat.name#)There is an error that says name doesn’t exist, yet in the dump it is clearly there. I am assuming this has something to do with it being an actual Java Object. So with that, how would I return the name in this method?
Reference : http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/hql-tip-use-a-hashmap-283