I think it depends on what do you plan to do with the records.
What I am wanting to do is to use the data pagination as a batch fetch. Also, I am wanting to update a field within each record once processed. This would keep me from reinventing the wheel.
One thing that would be nice is to have the
in Seam to be public rather than protected, where it would return the full query string. Useful when instantiating new on EntityQuery and wanting to view the query string or processing transactions using hibernate or some other way.
EntityQuery eq = new EntityQuery(); String queryString = eq.getRenderedEjbql();
File a feature request in JIRA