users@jersey.java.net

Re: [Jersey] Re: resources inheritance

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Wed, 12 Aug 2009 09:55:30 +0200

here it is the code from the facade:


        public Collection<T> readAll(int offset, int chunk)
                        throws IllegalStateException, IllegalArgumentException {
                Query query;
                query = manager.createQuery("select e from "
                                + entityClass.getSimpleName() + " e");
                query.setFirstResult(offset);
                query.setMaxResults(chunk);
                return doQuery(query);
        }


so, where this Vector comes from ???

* manager = EntityManager

I am using Toplink from Glassfish........