Package com.mysema.query.jpa.impl

Examples of com.mysema.query.jpa.impl.JPAQuery.list()


    query.from(qArtifactVersion)
      .where(qArtifactVersion.artifact.deprecationStatus.eq(ArtifactDeprecationStatus.NORMAL))
      .orderBy(qArtifactVersion.lastUpdateDate.desc())
      .limit(limit);
   
    return query.list(qArtifactVersion);
  }
}
View Full Code Here


   
    query.from(qArtifactVersionNotification)
      .where(qArtifactVersionNotification.artifactVersion.artifact.eq(artifact))
      .orderBy(qArtifactVersionNotification.creationDate.desc());
   
    return query.list(qArtifactVersionNotification);
  }
}
View Full Code Here

    JPAQuery query = new JPAQuery(getEntityManager());
   
    query.from(qUser)
      .where(qUser.followedArtifacts.any().artifact.eq(artifact));
   
    return query.list(qUser);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.