// System.err.println(" Entity class " + entity + " not found");
return lnq;
}
if (clazz.isAnnotationPresent(NamedQuery.class)) {
NamedQuery nq = clazz.getAnnotation(NamedQuery.class);
lnq.add(nq);
} else if (clazz.isAnnotationPresent(NamedQueries.class)) {
NamedQueries nqs = clazz.getAnnotation(NamedQueries.class);
NamedQuery[] nq = nqs.value();
for (int j = 0; j < nq.length; j++) {