Is it possible to do indexed element access in JPQL like in HQL :
select o from Order o where o.items[0].id = 1234
I couldn't find something related in the JPA 2 specs,
I am targeting EclipseLink JPA here, so if you come up with an EclipseLink solution, that's ok as well, although a JPQL standard solution is preferred.