> 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.....