I got a little feature request, which would make life a bit easier. I use <framework:entity-query /> in components.xml for my drop down lists (<h:selectOneMenu />). What lacks is a restrict attribute or child element.
Sure there's always the possibility to write a real java class. But it's often just overkill for simple usecases like "select e from Entity e"
ejbql="select e from Entity e"