returnentityManager().createNativeQuery("select * from transcript a, person b, registration c where a.student = c.id and c.student=b.id order by b.name",Transcript.class).getResultList();
if(em==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
returnentityManager().createQuery("SELECT o FROM ValidatedSection o",ValidatedSection.class).setFirstResult(firstResult).setMaxResults(maxResults).getResultList();