source: src/main/java/it/finki/tinki/repository/SkillRepository.java@ f067338

Last change on this file since f067338 was f067338, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

added full text search on work

  • Property mode set to 100644
File size: 412 bytes
Line 
1package it.finki.tinki.repository;
2
3import it.finki.tinki.model.Skill;
4import org.springframework.data.jpa.repository.JpaRepository;
5import org.springframework.stereotype.Repository;
6
7import java.util.List;
8import java.util.Optional;
9
10@Repository
11public interface SkillRepository extends JpaRepository<Skill, Long> {
12 Optional<Skill> findById(Long id);
13 List<Skill> findAllByNameContaining(String text);
14}
Note: See TracBrowser for help on using the repository browser.