Open GoogleCodeExporter opened 8 years ago
No I don't think think the framework supports this yet. HQL does apparently
support it as follows:
"You can use HQL built-in function: index() eg.
select item, index(item) from Order order
join order.items item
where index(item) = 'foobar'
where order.items is Map"
-- http://forum.springsource.org/archive/index.php/t-32224.html
By the way, the best place to post questions is here:
http://groups.google.com/group/java-generic-dao. That's the discussion group
for the framework. But I'll leave this here since it's a good feature
suggestion.
Original comment by dwolvert
on 6 Oct 2010 at 1:03
Developer note:
Use ".index" just like ".size". But maybe both of these need to be adjusted so
they don't step on legitimate properties "index" and "size".
Original comment by dwolvert
on 7 Oct 2010 at 1:30
I will try it out, thank you so much, it would save me a lot of work if it
works.
Original comment by RetRo.Li...@gmail.com
on 9 Oct 2010 at 3:55
Original issue reported on code.google.com by
RetRo.Li...@gmail.com
on 6 Oct 2010 at 1:35