users@jersey.java.net

Re: [Jersey] Re: resources inheritance

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Wed, 12 Aug 2009 10:21:31 +0200

> What does doQuery do?

        @SuppressWarnings("unchecked")
        public List<T> doQuery(Query query) throws IllegalStateException,
                        IllegalArgumentException {
                List<T> response = query.getResultList();
                if (response == null) {
                        response = new ArrayList<T>();
                }
                return response;
        }

> Is Collection returned from the query to the JPA layer? If so  guess Toplink
> uses Vector as the implementation of Collection.

Yes, it is.. .TopLink uses Vector ??? arghs :( I hope EclipseLink do
it better.....