Even cooler would be to support an extended JPQL syntax that had the best of both worlds.
So, something like:
| SELECT someA FROM A someA, IN (someA.Bs) someB WHERE someB.stuff=<value>
|
Thus, by traversing a ManyToMany you somehow get auto-magical access to the additional
qualifiers in the linking table through the relation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003875#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...