Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Query("select u from ProfileDMO p inner join p.userPrincipal u where p.id=:profileId")
- List<UserPrincipalDMO> findUserPrincipalByProfileId(@Param("profileId") long profileId);
- UserPrincipalDMO findFirstByUserPrincipalProfileId(@Param("profileId") long profileId);
Add Comment
Please, Sign In to add comment