Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Autowired
- private ProfileDao profileDao;
- public List<SearchResult> search(String text) {
- return profileDao.findByInterestsNameContainingIgnoreCase(text).stream().map(SearchResult::new).collect(Collectors.toList());
- }
- Profile findByUsuario(Usuario usuario);
- List<Profile> findByInterestsNameContainingIgnoreCase(String text);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement