if(this.entityManager==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
if(this.entityManager==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
if(this.entityManager==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
if(this.entityManager==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
if(em==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
return(Long)em.createQuery("select count(o) from Person o").getSingleResult();
if(em==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
returnem.createQuery("select o from Person o").getResultList();
if(em==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
if(em==null)thrownewIllegalStateException("Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)");
returnem.createQuery("select o from Person o").setFirstResult(firstResult).setMaxResults(maxResults).getResultList();