Hello,
I am trying to use the HQL functions like index, maxindex and minindex however Hibernate (or the IDE) is not recognising them.
For example from the documentation:
Code:
select item, index(item) from Order order
join order.items item
where index(item) < 5
However I get an org.hibernate.MappingException stating that the Property index does not exist in the collection Order.items.
I am using Hibernate 3.2.4.sp1. Elcipse 3.3.2 running JBoss Tools 2.1.0.GA.
Is anyone using these functions? Does this sound more like an IDE / Jboss Tools problem?
Thanks,
Damian.