On Thu, Apr 11, 2013 at 1:24 PM, Chris Wolf <cwolf.a...@gmail.com> wrote:
> ... in this interface? > > public interface OpenJPAQuery<X> extends TypedQuery<X> > > (an example would be good also) > X is the class of the objects that the query is supposed to return. TypedQuery<EAgent> agents = em.createNamedQuery(EAgent.GET_ALL, EAgent.class); for (EAgent agent : agents.getResultList()) { // have fun } (sorry, I don't use OpenJPA classes directly) > > Thanks, > > Chris >