We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UserSkillRepository
The text was updated successfully, but these errors were encountered:
@PersistenceContext private EntityManager entityManager;
CriteriaBuilder cb= entityManager.getCriteriaBuilder(); CriteriaQuery query= cb.createQuery(UserSkills.class);
Root<UserSkills> userSkills = query.from(UserSkills.class); Join<UserSkills, Endorsement> endorsement= UserSkills.join("endorsements", JoinType.INNER); query.select(userSkills).where(cb.equal(endorsement.get("endorserId"), endorserId)); skillRequests = entityManager.createQuery(query).getResultList();
Sorry, something went wrong.
yesyash
No branches or pull requests
requirement
UserSkillRepository
and use some feature from the ORM instead to query all skill requests created by non superusersThe text was updated successfully, but these errors were encountered: