Package com.mysema.query.jpa.impl

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


   
    query.from(qProjectVersion)
      .where(qProjectVersion.project.eq(project))
      .where(qProjectVersion.version.eq(version));
   
    return query.uniqueResult(qProjectVersion);
  }
}
View Full Code Here


   
    query.from(qArtifact)
      .where(qArtifact.group.groupId.eq(groupId))
      .where(qArtifact.artifactId.eq(artifactId));
   
    return query.uniqueResult(qArtifact);
  }
 
  @Override
  public List<Artifact> listMostFollowedArtifacts(int limit) {
    JPAQuery query = new JPAQuery(getEntityManager());
View Full Code Here

   
    query.from(qArtifactNotificationRule)
      .where(qArtifactNotificationRule.followedArtifact.eq(followedArtifact))
      .where(qArtifactNotificationRule.regex.eq(regex));
   
    return query.uniqueResult(qArtifactNotificationRule);
  }
}
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.